Agent-Hellboy / Agent-Hellboy/flask-hedcrypt

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

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
help wanted
主要語言
Python
星號
0
分支
1
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。