mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 09:10:45 +00:00
style: whitespace
This commit is contained in:
1 parent
efc3474e27
commit
7f91c16266
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -138,7 +138,7 @@ class SpotifyClientCredentials(SpotifyAuthBase):
|
|||||||
self,
|
self,
|
||||||
client_id: Optional[str] = None,
|
client_id: Optional[str] = None,
|
||||||
client_secret: Optional[str] = None,
|
client_secret: Optional[str] = None,
|
||||||
proxies: Optional[Any] = None,
|
proxies: Optional[Any] = None,
|
||||||
requests_session: Union[requests.Session, bool] = True,
|
requests_session: Union[requests.Session, bool] = True,
|
||||||
requests_timeout: Optional[int] = None,
|
requests_timeout: Optional[int] = None,
|
||||||
cache_handler: Optional[CacheHandler] = None,
|
cache_handler: Optional[CacheHandler] = None,
|
||||||
|
|||||||
@@ -137,6 +137,7 @@ def get_host_port(netloc: str):
|
|||||||
|
|
||||||
ScopeArgType = Union[str, StrListOrTuple]
|
ScopeArgType = Union[str, StrListOrTuple]
|
||||||
|
|
||||||
|
|
||||||
def normalize_scope(scope: Optional[ScopeArgType]) -> Union[str, None]:
|
def normalize_scope(scope: Optional[ScopeArgType]) -> Union[str, None]:
|
||||||
"""Normalize the scope to verify that it is a list or tuple. A string
|
"""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.
|
input will split the string by commas to create a list of scopes.
|
||||||
|
|||||||
Reference in new issue
Block a user