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
It can cause programmer errors like in #235.
DECIMAL
DateTime(timezone=True)
JSON
<class 'dict'> has no matching SQLAlchemy type
sa_type=JSON
DateTime(timezone=False)
The text was updated successfully, but these errors were encountered:
When making changes to Decimal in #238, we had changed the type annotation from Decimal to our custom type FLOAT_DECIMAL 56ea76a, based on this documentation: https://docs.pydantic.dev/latest/api/standard_library_types/#decimaldecimal
Decimal
FLOAT_DECIMAL
Relevant comments:
Sorry, something went wrong.
jpmckinney
Successfully merging a pull request may close this issue.
It can cause programmer errors like in #235.
DECIMAL
: https://sqlmodel.tiangolo.com/advanced/decimal/#decimals-in-sqlmodelDateTime(timezone=True)
: Dose there any better way to write timezone aware datetime field without using the SQLAlchemy ? fastapi/sqlmodel#539JSON
JSON and Array types for sqlmodel fastapi/sqlmodel#42 (<class 'dict'> has no matching SQLAlchemy type
ifsa_type=JSON
is omitted)DateTime(timezone=False)
(maybe better to stay consistent withDateTime(timezone=True)
)The text was updated successfully, but these errors were encountered: