mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
style: whitespace
This commit is contained in:
parent
efc3474e27
commit
7f91c16266
@ -138,7 +138,7 @@ class SpotifyClientCredentials(SpotifyAuthBase):
|
||||
self,
|
||||
client_id: Optional[str] = None,
|
||||
client_secret: Optional[str] = None,
|
||||
proxies: Optional[Any] = None,
|
||||
proxies: Optional[Any] = None,
|
||||
requests_session: Union[requests.Session, bool] = True,
|
||||
requests_timeout: Optional[int] = None,
|
||||
cache_handler: Optional[CacheHandler] = None,
|
||||
|
||||
@ -137,6 +137,7 @@ def get_host_port(netloc: str):
|
||||
|
||||
ScopeArgType = Union[str, StrListOrTuple]
|
||||
|
||||
|
||||
def normalize_scope(scope: Optional[ScopeArgType]) -> Union[str, None]:
|
||||
"""Normalize the scope to verify that it is a list or tuple. A string
|
||||
input will split the string by commas to create a list of scopes.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user