We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
_PrismaModel uses config use_enum_values and causes pyright to complain about typing rightfully
_PrismaModel
use_enum_values
It's expecting a enum where you'd use .value to get the string but due to the config used the type is actually a string literal.
.value
Checkout the issue here for more context: pydantic/pydantic#6565
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description
_PrismaModel
uses configuse_enum_values
and causes pyright to complain about typing rightfullyIt's expecting a enum where you'd use
.value
to get the string but due to the config used the type is actually a string literal.Checkout the issue here for more context:
pydantic/pydantic#6565
The text was updated successfully, but these errors were encountered: