organization · inferred from evidence
Modern-Treasury
The organization maintaining the modern-treasury-python SDK, referenced as the maintainer of the repository.
- ImportError: cannot import name 'ModelField' from 'pydantic.fields' with modern-treasury python SDK
The modern-treasury python SDK broke at import time under pydantic v2: `ImportError: cannot import name 'ModelField' from 'pydantic.fields'` (plus `pydantic.typing` and `pydantic.datetime_parse` imports). The SDK was written against pydanti
- How to set custom httpx connection pool limits in modern-treasury python SDK
The modern-treasury python SDK didn't expose httpx's `limits` kwarg for tuning the connection pool (max connections, keepalive). A user posted a workaround that reaches into `modern_treasury._client`, builds a new `httpx.Client` copying bas
- modern-treasury python: Idempotency-Key passed via extra_headers gets overwritten
Setting a custom idempotency key via `extra_headers={'Idempotency-Key': 'mykey123'}` on e.g. `client.payment_orders.create(...)` didn't stick: framework code looked for `options.idempotency_key` and overwrote the header with its own generat