Skip to content
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

Allow block registration to use client schemas for server model creation #13602

Merged
merged 1 commit into from
May 28, 2024

Conversation

chrisguidry
Copy link
Collaborator

We were originally allowing this only for unit tests, but we also use this
path via block autoregistration at server startup. Now that we're past the
hump on Pydantic v2, we can remove the more aggressive exception here and just
transparently convert the type.

We were originally allowing this only for unit tests, but we also use this
path via block autoregistration at server startup.  Now that we're past the
hump on Pydantic v2, we can remove the more aggressive exception here and just
transparently convert the type.
@chrisguidry chrisguidry requested review from zangell44 and a team as code owners May 28, 2024 20:48
@chrisguidry chrisguidry merged commit 9e56f04 into main May 28, 2024
17 of 23 checks passed
@chrisguidry chrisguidry deleted the allow-client-schemas-for-block-registration branch May 28, 2024 20:48
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.

2 participants