Skip to content

Commit

Permalink
add SECS suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
riteshghorse committed Dec 7, 2023
1 parent ffe4bb8 commit a784e5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdks/python/apache_beam/io/requestresponseio.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
RequestT = TypeVar('RequestT')
ResponseT = TypeVar('ResponseT')

DEFAULT_TIMEOUT = 30 # seconds
DEFAULT_TIMEOUT_SECS = 30 # seconds

_LOGGER = logging.getLogger(__name__)

Expand Down Expand Up @@ -157,9 +157,9 @@ class _Call(beam.PTransform[beam.PCollection[RequestT],
of the input PCollection.
This PTransform uses a `Caller` object to invoke the actual API calls,
and employs a `SetupTeardown` object to manage setup and teardown of clients
when applicable. Additionally, a timeout value is specified to regulate the
duration of each call, defaults to 30 seconds.
and uses ``__enter__`` and ``__exit__`` to manage setup and teardown of
clients when applicable. Additionally, a timeout value is specified to
regulate the duration of each call, defaults to 30 seconds.
Args:
caller (:class:`apache_beam.io.requestresponseio.Caller`): a callable
Expand Down

0 comments on commit a784e5e

Please sign in to comment.