Skip to content

Commit 5f29c57

Browse files
committed
Make station_permalink optional
1 parent a859bd5 commit 5f29c57

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def readme():
1010

1111
setup(
1212
name="soundcloud-v2",
13-
version="1.5.2",
13+
version="1.5.3",
1414
description=(
1515
"Python wrapper for the internal v2 SoundCloud API."
1616
"Does not require an API key."

soundcloud/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@
6464
from soundcloud.soundcloud import *
6565
from soundcloud.soundcloud import __all__ as sc_all
6666

67-
__version__ = "1.5.2"
67+
__version__ = "1.5.3"
6868

6969
__all__ = sc_all + ex_all + res_all

soundcloud/resource/track.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class BaseTrack(BaseItem):
6363
waveform_url: str
6464
media: Media
6565
station_urn: Optional[str]
66-
station_permalink: str
66+
station_permalink: Optional[str]
6767
track_authorization: str
6868
monetization_model: str
6969
policy: str
@@ -116,7 +116,7 @@ class CommentTrack(BaseData):
116116
display_date: datetime.datetime
117117
media: Media
118118
station_urn: Optional[str]
119-
station_permalink: str
119+
station_permalink: Optional[str]
120120
track_authorization: str
121121
monetization_model: str
122122
policy: str

soundcloud/resource/user.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class BasicUser(BaseData):
4747
country_code: Optional[str]
4848
badges: Badges
4949
station_urn: Optional[str]
50-
station_permalink: str
50+
station_permalink: Optional[str]
5151

5252

5353
@dataclass

0 commit comments

Comments
 (0)