From de53984b3d2179000ccd0c89e0cc0b46cbc1e503 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Apr 2020 20:00:02 +0200 Subject: Precise typing for artist endpoint --- pyfunkwhale/funkwhale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 """ -- cgit v1.2.1