Skip to content

Commit 72599c8

Browse files
Document Decimal and Fraction timing support
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 537d0f9 commit 72599c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ with Hyperbrowser(
7474
```
7575

7676
> If you pass `config=...`, do not also pass `api_key`, `base_url`, or `headers`.
77-
> `timeout` may be provided to client constructors and must be finite and non-negative (`None` disables request timeouts). Numeric timeout inputs are normalized to float values before being applied to the underlying HTTP client.
77+
> `timeout` may be provided to client constructors and must be finite and non-negative (`None` disables request timeouts). Numeric timeout inputs (including `Decimal`/`Fraction`) are normalized to float values before being applied to the underlying HTTP client.
7878
7979
## Clients
8080

@@ -136,7 +136,7 @@ These methods now support explicit polling controls:
136136
- `max_wait_seconds` (default `600.0`)
137137
- `max_status_failures` (default `5`)
138138

139-
Timing values must be finite, non-negative numbers.
139+
Timing values must be finite, non-negative numbers (including `Decimal`/`Fraction` inputs).
140140
Polling callback contracts are also validated:
141141

142142
- Sync polling helpers require non-awaitable callback return values.

0 commit comments

Comments
 (0)