Agent-Hellboy / Agent-Hellboy/flask-hedcrypt

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

Offen
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
help wanted
Vorherrschende Sprache
Python
Sterne
0
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.