merge-api / merge-python-client

The Python SDK for accessing various Merge Unified APIs
Other
6 stars 10 forks source link

Update Python SDK to correctly support Pydantic v1 and v2 #89

Closed fern-api[bot] closed 3 months ago

fern-api[bot] commented 3 months ago

This PR regenerates code to match the latest API Definition.

lucasgadams commented 2 months ago

Hey it looks like the models are now being generated with extra = pydantic_v1.Extra.forbid. I am pretty sure the default is extra='ignore'. So this is a very big change and seems to have broken various models like filestoreage PermissionRequest