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 摘要。