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

[Bug] Fix: pydantic.errors.PydanticUserError: Field 'id' requires a type annotation #162

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

munikes
Copy link
Contributor

@munikes munikes commented Feb 16, 2024

I fix a problem when create from sqlalchemy 2.0 model, without pydantic model.

raise PydanticUserError(
pydantic.errors.PydanticUserError: Field 'id' requires a type annotation

…ype annotation, when create from sqlalchemy 2.0 model, without pydantic model
@amisadmin amisadmin self-requested a review March 24, 2024 02:40
@amisadmin amisadmin merged commit 2428d58 into amisadmin:master Mar 31, 2024
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