Oauth 实例获取登陆用户存在递归的问题
bob-zebedy opened this issue · comments
oauth = Oauth()
oauth.profile # 通过 oauth.profile 获取到登录用户类
oauth.profile.profile.profile ......
User
继承 Oauth
而 Oauth
实例创建 User
对象,所以 oauth.profile.profile
产生递归嵌套
zhlite
bob-zebedy opened this issue · comments
oauth = Oauth()
oauth.profile # 通过 oauth.profile 获取到登录用户类
oauth.profile.profile.profile ......
User
继承 Oauth
而 Oauth
实例创建 User
对象,所以 oauth.profile.profile
产生递归嵌套