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

Unable to decorate the class inherited from db.Model class of flask-sqlalchmey #1

Open
Agent-Hellboy opened this issue May 5, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Agent-Hellboy
Copy link
Owner

Agent-Hellboy commented May 5, 2020

I want to decorate the class inherited from db.Model class.
I know it's not recommended in flask-sqlalchemy doc of custom model but i want to do it for other functionalities to work.
Code for the same is in testing_decorater.py file in help-required folder.
what i wanted is access of User class attribute in real time so that i could derive a key from ssid and store that as a password in User model.
If you made it possible then create a new file named flask-crypto/ecrypter.py and put the wrapper class/function code inside it and raise a PR.

@Agent-Hellboy Agent-Hellboy added the help wanted Extra attention is needed label May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant