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
python3 has a descriptor __set_name__() magic method that will tell the descriptor what the name is, I should switch my logic to use this
__set_name__()
The text was updated successfully, but these errors were encountered:
This should absolutely by used, the field should be updated with this:
def __set_name__(self, orm_class, name): self.orm_class = orm_class self.name = name
Sorry, something went wrong.
d6b0181
No branches or pull requests
python3 has a descriptor
__set_name__()
magic method that will tell the descriptor what the name is, I should switch my logic to use thisThe text was updated successfully, but these errors were encountered: