reflect type changes
This commit is contained in:
parent
5445661f42
commit
e69349bca8
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue