aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/mixins.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/mixins.py')
-rw-r--r--pysite/mixins.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pysite/mixins.py b/pysite/mixins.py
index a3edc4f2..6e5032ab 100644
--- a/pysite/mixins.py
+++ b/pysite/mixins.py
@@ -4,6 +4,7 @@ from flask import Blueprint
from rethinkdb.ast import Table
from pysite.database import RethinkDB
+from pysite.oauth import OauthBackend
class DBMixin:
@@ -98,5 +99,5 @@ class OauthMixin:
return self.oauth.user_data()
@property
- def oauth(self):
+ def oauth(self) -> OauthBackend:
return self._oauth()