Skip to content

Commit

Permalink
docstring updated!
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex-21 committed Oct 24, 2024
1 parent 96032ca commit 3c4c2af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion healthchain/clients/ehrclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ def __init__(
func (Callable[..., Any]): A function to generate data for requests.
workflow ([Workflow]): The workflow context to apply to the data generator.
strategy (BaseStrategy): The strategy object to construct requests based on the generated data.
timeout(float and default=10.0) : The maximum time in seconds to wait for a response from the server.
This parameter determines how long the client will wait before considering a request timed out.
A higher timeout value allows for longer-running operations, while a lower value prioritizes faster responses.
"""
# TODO: Add option to pass in different provider options
self.data_generator_func: Callable[..., Any] = func
Expand Down

0 comments on commit 3c4c2af

Please sign in to comment.