Skip to content

fix(python): pydantic v2 discriminator #3758

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

Closed
wants to merge 4 commits into from

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket:

Changes included:

try pydantic v2 discriminator oneOf style

@shortcuts shortcuts self-assigned this Sep 16, 2024
@algolia-bot
Copy link
Collaborator

algolia-bot commented Sep 16, 2024

🪓 The generated code will be pushed at the end of the CI.

Action triggered by commit 1fb46ef1a5a0ce214ba92588b76d79677d7856ed.

Please do not push any generated code to this pull request.

@@ -10,7 +10,7 @@ Destination:
name:
$ref: './common.yml#/name'
input:
$ref: '#/DestinationInput'
$ref: '#/DestinationIndexName'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to avoid the bc ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess yes, it's just a name so I can change it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah it still thinks it's a bc :/

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