aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyfunkwhale/client.py2
-rw-r--r--pyfunkwhale/funkwhale.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pyfunkwhale/client.py b/pyfunkwhale/client.py
index c6ef1f2..4372460 100644
--- a/pyfunkwhale/client.py
+++ b/pyfunkwhale/client.py
@@ -83,7 +83,7 @@ class Client(object):
self._get_token()
write_file(self.token_filename, self.token)
- def _get_JWT_token(self):
+ def _get_JWT_token(self) -> dict:
"""
Get a JWT token.
"""
diff --git a/pyfunkwhale/funkwhale.py b/pyfunkwhale/funkwhale.py
index 189b9cd..02b76f2 100644
--- a/pyfunkwhale/funkwhale.py
+++ b/pyfunkwhale/funkwhale.py
@@ -34,7 +34,7 @@ class Funkwhale(object):
return params
def create_app(self, name: str, redirect_uris: str = None,
- scopes: str = None):
+ scopes: str = None) -> dict:
"""
Register an OAuth application