ImportError: cannot import name 'ModelField' from 'pydantic.fields' with modern-treasury python SDK
The SDK required pydantic v1. Workaround confirmed in the thread: pin pydantic==1.10.7. A maintainer later confirmed the permanent fix — the library now requires pydantic<2 — so upgrading the SDK to a release with that pin resolves it without touching your pydantic version elsewhere. Source:
Problem outcome: unknown