Agent-Hellboy / Agent-Hellboy/flask-hedcrypt

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

Ouverte
#1 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
help wanted
Langage dominant
Python
Étoiles
0
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.