Skip to content

Conversation

@snehsuresh
Copy link

This fixes a mismatch between the Cartesia API response and the SDK by marking Voice.is_owner as optional in the API definition.

Why

When calling the update endpoint, the response doesn't always include is_owner, causing the SDK to throw a Pydantic validation error.

Tests

  • Ran fern generate --api version-2025-04-16 --group python-sdk
  • Verified the Python SDK compiles correctly
  • Ran the Python test suite (excluding credential-gated tests)
  • Confirmed no regressions in generated types

Fixes cartesia-ai/cartesia-python#35

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.

Update Voice raises PydanticValidation error

1 participant