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
odmantic.model.is_type_mutable gives wrong result for Literal types.
odmantic.model.is_type_mutable
Literal
In [1]: from odmantic.model import is_type_mutable In [2]: from typing import Literal In [3]: is_type_mutable(Literal["x", "y"]) Out[3]: True
Strings are immutable so the above should return False.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug
odmantic.model.is_type_mutable
gives wrong result forLiteral
types.Current Behavior
Expected behavior
Strings are immutable so the above should return False.
Environment
The text was updated successfully, but these errors were encountered: