diff options
author | 2018-05-19 19:34:44 +0100 | |
---|---|---|
committer | 2018-05-19 19:34:44 +0100 | |
commit | 44453da722f7be76b50e391ca96d0b71a2c49acd (patch) | |
tree | 0ee508b63e0d1382ee68b30d91605988e9aaf80d /pysite/mixins.py | |
parent | [Jams] Some amount of public display, but links not ready yet (diff) |
[Jams] Signups code is more or less done, just a few things left
Diffstat (limited to 'pysite/mixins.py')
-rw-r--r-- | pysite/mixins.py | 3 |
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() |