Skip to content

Commit

Permalink
Review change
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Dec 5, 2024
1 parent 47585ec commit 83e5d90
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions temporalio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,11 +792,11 @@ def list_workflows(
self,
query: Optional[str] = None,
*,
limit: Optional[int] = None,
page_size: int = 1000,
next_page_token: Optional[bytes] = None,
rpc_metadata: Mapping[str, str] = {},
rpc_timeout: Optional[timedelta] = None,
limit: Optional[int] = None,
) -> WorkflowExecutionAsyncIterator:
"""List workflows.
Expand All @@ -807,15 +807,17 @@ def list_workflows(
query: A Temporal visibility list filter. See Temporal documentation
concerning visibility list filters including behavior when left
unset.
limit: Maximum number of workflows to return. If unset, all
workflows are returned. Only applies if using the
returned :py:class:`WorkflowExecutionAsyncIterator`.
as an async iterator.
page_size: Maximum number of results for each page.
next_page_token: A previously obtained next page token if doing
pagination. Usually not needed as the iterator automatically
starts from the beginning.
rpc_metadata: Headers used on each RPC call. Keys here override
client-level RPC metadata keys.
rpc_timeout: Optional RPC deadline to set for each RPC call.
limit: Maximum number of workflows to return. If unset, all
workflows are returned.
Returns:
An async iterator that can be used with ``async for``.
Expand Down

0 comments on commit 83e5d90

Please sign in to comment.