Skip to content

Add overrides to get Pydantic validation to pass #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025

Conversation

fern-support
Copy link
Collaborator

Intercom's server returns responses without certain fields that are marked as required in the spec. This isn't an issue in Typescript or Java, but Pydantic (in the Python SDK) throws an error if required fields are missing in an object. This PR provides overrides for a few schemas to mark the missing fields as optional.

@fern-support fern-support merged commit 2f54c72 into main Jun 26, 2025
8 checks passed
@fern-support fern-support deleted the pydantic-overrides branch June 26, 2025 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants