aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2020-04-12 10:38:57 +0200
committerneodarz <neodarz@neodarz.net>2020-04-12 10:43:30 +0200
commitdeb60837020b8e11830d5546939f6dead6398a03 (patch)
treee8d49dcf1400b22c872efa26c51a871d6066bc93
parent2dffcdafbf939f3e51bd9c78832f86948e7a6c6c (diff)
downloadpyfunkwhale-deb60837020b8e11830d5546939f6dead6398a03.tar.xz
pyfunkwhale-deb60837020b8e11830d5546939f6dead6398a03.zip
Add forgotten typing hint
-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