Open tspecht opened 1 month ago
Same issue:
I just tried v1.1.2 and I'm still getting these issues. Gonna downgrade to before the v1.1.0 version and see if that fixes it.
Encountering the same issue in v1.0.13 and v1.1.2.
My hunch is that the tool being used to generate the Pydantic data structure models is not properly flagging "remote_fields" as an optional field, and the validation then breaks when "remote_fields" is not present.
The "remote_fields" field was also added to a bunch of base data models which did not previously contain it, which makes it easier to encounter this issue across various sync types/objects.
I was able to fix this locally in the SDK, and have a PR up fixing these definitions by changing remote_fields to the correct typing. See: https://github.com/merge-api/merge-python-client/pull/101
Just installed the latest release
1.1.0
, getting a ton of these when trying to fetch/contacts