From e69349bca8f9b3060e716ced52e6c3c398bac955 Mon Sep 17 00:00:00 2001 From: cloudwithax Date: Tue, 25 Apr 2023 11:19:08 -0400 Subject: [PATCH] reflect type changes --- pomice/pool.py | 2 +- pomice/spotify/client.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pomice/pool.py b/pomice/pool.py index f290aad..225eb65 100644 --- a/pomice/pool.py +++ b/pomice/pool.py @@ -928,7 +928,7 @@ class NodePool: secure: bool = False, heartbeat: int = 30, loop: Optional[asyncio.AbstractEventLoop] = None, - spotify_client_id: Optional[int] = None, + spotify_client_id: Optional[str] = None, spotify_client_secret: Optional[str] = None, session: Optional[aiohttp.ClientSession] = None, apple_music: bool = False, diff --git a/pomice/spotify/client.py b/pomice/spotify/client.py index 5fd632c..25e125c 100644 --- a/pomice/spotify/client.py +++ b/pomice/spotify/client.py @@ -32,8 +32,8 @@ class Client: for any Spotify URL you throw at it. """ - def __init__(self, client_id: int, client_secret: str) -> None: - self._client_id: int = client_id + def __init__(self, client_id: str, client_secret: str) -> None: + self._client_id: str = client_id self._client_secret: str = client_secret self.session: aiohttp.ClientSession = None # type: ignore