reflect type changes

This commit is contained in:
cloudwithax 2023-04-25 11:19:08 -04:00
parent 5445661f42
commit e69349bca8
No known key found for this signature in database
GPG Key ID: 5DBE54E45794983E
2 changed files with 3 additions and 3 deletions

View File

@ -928,7 +928,7 @@ class NodePool:
secure: bool = False, secure: bool = False,
heartbeat: int = 30, heartbeat: int = 30,
loop: Optional[asyncio.AbstractEventLoop] = None, loop: Optional[asyncio.AbstractEventLoop] = None,
spotify_client_id: Optional[int] = None, spotify_client_id: Optional[str] = None,
spotify_client_secret: Optional[str] = None, spotify_client_secret: Optional[str] = None,
session: Optional[aiohttp.ClientSession] = None, session: Optional[aiohttp.ClientSession] = None,
apple_music: bool = False, apple_music: bool = False,

View File

@ -32,8 +32,8 @@ class Client:
for any Spotify URL you throw at it. for any Spotify URL you throw at it.
""" """
def __init__(self, client_id: int, client_secret: str) -> None: def __init__(self, client_id: str, client_secret: str) -> None:
self._client_id: int = client_id self._client_id: str = client_id
self._client_secret: str = client_secret self._client_secret: str = client_secret
self.session: aiohttp.ClientSession = None # type: ignore self.session: aiohttp.ClientSession = None # type: ignore