aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2020-04-11 20:00:02 +0200
committerneodarz <neodarz@neodarz.net>2020-04-11 20:00:02 +0200
commitde53984b3d2179000ccd0c89e0cc0b46cbc1e503 (patch)
treeb4ae931849f6dd774096be0016fa73bdde1e4697
parentc6428e5eff5fe2665f85ec72e8fc05e53c3cd194 (diff)
downloadpyfunkwhale-de53984b3d2179000ccd0c89e0cc0b46cbc1e503.tar.xz
pyfunkwhale-de53984b3d2179000ccd0c89e0cc0b46cbc1e503.zip
Precise typing for artist endpoint
Diffstat (limited to '')
-rw-r--r--pyfunkwhale/funkwhale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyfunkwhale/funkwhale.py b/pyfunkwhale/funkwhale.py
index 255d9d1..53e5937 100644
--- a/pyfunkwhale/funkwhale.py
+++ b/pyfunkwhale/funkwhale.py
@@ -41,7 +41,7 @@ class Funkwhale(object):
return self.client.call('/artists/', 'get', params).json()
- def artist(self, _id, refresh: bool = False):
+ def artist(self, _id: int, refresh: bool = False):
"""
Retrieve a single artist
"""