From 44453da722f7be76b50e391ca96d0b71a2c49acd Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Sat, 19 May 2018 19:34:44 +0100 Subject: [Jams] Signups code is more or less done, just a few things left --- pysite/mixins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pysite/mixins.py') 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() -- cgit v1.2.3