bob-zebedy / zhlite

zhlite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oauth 实例获取登陆用户存在递归的问题

bob-zebedy opened this issue · comments

commented
oauth = Oauth()
oauth.profile       # 通过 oauth.profile 获取到登录用户类

oauth.profile.profile.profile ......

User 继承 OauthOauth 实例创建 User 对象,所以 oauth.profile.profile 产生递归嵌套