Commit Graph

5 Commits

Author SHA1 Message Date
ZeliardM
1c3be98e67 Keep the session token out of the HTTP client's debug log (#1835)
Camera logins over `SslAesTransport` send their requests to `/stok=<token>/ds`, and `HttpClient` logs every URL it posts to at debug, so the session token ends up in the debug logs people paste into issues.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 18:56:22 +01:00
ZeliardM
b36c795cbc tests: add type annotations to top-level test files (#1688)
Add type annotations (parameter types and `-> None` return types) to all
top-level test functions across 22 test files. This enables mypy to
check test function bodies, catching type errors that were previously
hidden.
2026-10-04 14:36:01 +00:00
Kaloyan Naumov
eed64fe013 Disable multi requests on timeout during multi-request (#1759)
_execute_multiple_query only disables batching on JSON_DECODE_FAIL_ERROR / INTERNAL_UNKNOWN_ERROR (#1025). This change applies the same pattern to a TimeoutError raised while sending a batch: set the batch size to 1 and raise _RetryableError.

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-04 16:19:05 +02:00
Steven B.
a01247d48f Remove support for python <3.11 (#1273)
Python 3.11 ships with latest Debian Bookworm. 
pypy is not that widely used with this library based on statistics. It could be added back when pypy supports python 3.11.
2024-11-18 18:46:36 +00:00
Steven B.
32671da9e9 Move tests folder to top level of project (#1242) 2024-11-11 10:11:31 +00:00