mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
simple return type
This commit is contained in:
parent
58e8527d03
commit
942ddf7a3c
@ -62,7 +62,7 @@ class SpotifyAuthBase:
|
|||||||
return normalize_scope(scope)
|
return normalize_scope(scope)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def client_id(self):
|
def client_id(self) -> str:
|
||||||
return self._client_id
|
return self._client_id
|
||||||
|
|
||||||
@client_id.setter
|
@client_id.setter
|
||||||
@ -70,7 +70,7 @@ class SpotifyAuthBase:
|
|||||||
self._client_id = _ensure_value(val, "client_id")
|
self._client_id = _ensure_value(val, "client_id")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def client_secret(self):
|
def client_secret(self) -> str:
|
||||||
return self._client_secret
|
return self._client_secret
|
||||||
|
|
||||||
@client_secret.setter
|
@client_secret.setter
|
||||||
@ -78,7 +78,7 @@ class SpotifyAuthBase:
|
|||||||
self._client_secret = _ensure_value(val, "client_secret")
|
self._client_secret = _ensure_value(val, "client_secret")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def redirect_uri(self):
|
def redirect_uri(self) -> str:
|
||||||
return self._redirect_uri
|
return self._redirect_uri
|
||||||
|
|
||||||
@redirect_uri.setter
|
@redirect_uri.setter
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user