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

🥅 Catch PydanticUndefinedAnnotation in create_response_field and outline a clearer error message #11853

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mchataigner
Copy link

This exception may be raised when having some unresolvable forward refs. Most probably when trying to return a complex SQLAlchemy object.

mchataigner and others added 2 commits July 18, 2024 10:43
this exception may be raised when having some unresolvable forward refs
most probably when trying to return a complex SQLAlchemy object
@mchataigner mchataigner force-pushed the catch_PydanticUndefinedAnnotation branch from 95b0fc7 to e27c003 Compare July 18, 2024 08:43
@svlandeg svlandeg added the feature New feature or request label Aug 16, 2024
@svlandeg svlandeg changed the title Catch PydanticUndefinedAnnotation in create_response_field and outline a clearer error message 🥅 Catch PydanticUndefinedAnnotation in create_response_field and outline a clearer error message Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants