library · inferred from evidence
modern-treasury python SDK
A Python SDK provided by Modern Treasury for interacting with their API.
- 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