diff options
author | neodarz <neodarz@neodarz.net> | 2020-04-11 20:00:02 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2020-04-11 20:00:02 +0200 |
commit | de53984b3d2179000ccd0c89e0cc0b46cbc1e503 (patch) | |
tree | b4ae931849f6dd774096be0016fa73bdde1e4697 | |
parent | c6428e5eff5fe2665f85ec72e8fc05e53c3cd194 (diff) | |
download | pyfunkwhale-de53984b3d2179000ccd0c89e0cc0b46cbc1e503.tar.xz pyfunkwhale-de53984b3d2179000ccd0c89e0cc0b46cbc1e503.zip |
Precise typing for artist endpoint
-rw-r--r-- | pyfunkwhale/funkwhale.py | 2 |
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 """ |