Skip to content

Commit

Permalink
Properly document current StreamOptions defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
erickpintor committed Aug 21, 2024
1 parent 25d738d commit 7f2d1d9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,11 @@ You can pass a ``StreamOptions`` object to override these defaults:

```python
options = StreamOptions(
max_attempts=5,
max_backoff=1,
start_ts=1710968002310000,
status_events=True,
max_attempts=3,
max_backoff=20,
start_ts=None,
cursor=None,
status_events=False,
)

client.stream(fql('Product.all().toStream()'), options)
Expand Down

0 comments on commit 7f2d1d9

Please sign in to comment.