Skip to content

Commit

Permalink
Merge pull request #59 from Indicio-tech/fix/minor-timeout-correction
Browse files Browse the repository at this point in the history
fix: timeout needs an int
  • Loading branch information
dbluhm authored Oct 5, 2023
2 parents 2de6ea4 + bee2228 commit 0a9a24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ async def record_with_values(
topic: str,
*,
record_type: Optional[Type[T]] = None,
timeout: Optional[int] = None, # seconds
timeout: int = 5,
**values,
) -> Union[T, Mapping[str, Any]]:
"""Get a record from an event with values matching those passed in."""
Expand Down

0 comments on commit 0a9a24b

Please sign in to comment.