mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-03-18 10:42:44 -05:00
* feat(python-sdk): add opt-in retries for REST transport errors (GET/DELETE) * feat(python-sdk): make REST transport retries configurable via TenacityConfig * docs(python-sdk): clarify transport retry methods exclude mutating verbs by default * refactor(sdk): avoid parsing HTTP method from REST transport error message - add http_method field to RestTransportError - populate http_method when translating urllib3 transport exceptions - use http_method for transport retry gating in tenacity utils - update unit tests to cover the new structured method propagation * fix(sdk): move REST transport http_method changes into apply_patches * chore(python-sdk): bump version to 1.26.2 and update changelog * refactor(python-sdk): type retry_transport_methods as HTTPMethod enum * refactor(python-sdk): type retry_transport_methods as HTTPMethod enum * fix(sdk): type rest transport http_method as HTTPMethod - Update apply_patches to emit HTTPMethod typed http_method in generated REST transport exceptions - Normalize method values via method.upper() when constructing HTTPMethod - Simplify tenacity transport retry check to compare enums directly - Update transport retry tests to use HTTPMethod enums