Skip to content

Commit

Permalink
Make station_permalink optional
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Jul 9, 2024
1 parent a859bd5 commit 5f29c57
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def readme():

setup(
name="soundcloud-v2",
version="1.5.2",
version="1.5.3",
description=(
"Python wrapper for the internal v2 SoundCloud API."
"Does not require an API key."
Expand Down
2 changes: 1 addition & 1 deletion soundcloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
from soundcloud.soundcloud import *
from soundcloud.soundcloud import __all__ as sc_all

__version__ = "1.5.2"
__version__ = "1.5.3"

__all__ = sc_all + ex_all + res_all
4 changes: 2 additions & 2 deletions soundcloud/resource/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class BaseTrack(BaseItem):
waveform_url: str
media: Media
station_urn: Optional[str]
station_permalink: str
station_permalink: Optional[str]
track_authorization: str
monetization_model: str
policy: str
Expand Down Expand Up @@ -116,7 +116,7 @@ class CommentTrack(BaseData):
display_date: datetime.datetime
media: Media
station_urn: Optional[str]
station_permalink: str
station_permalink: Optional[str]
track_authorization: str
monetization_model: str
policy: str
Expand Down
2 changes: 1 addition & 1 deletion soundcloud/resource/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class BasicUser(BaseData):
country_code: Optional[str]
badges: Badges
station_urn: Optional[str]
station_permalink: str
station_permalink: Optional[str]


@dataclass
Expand Down

0 comments on commit 5f29c57

Please sign in to comment.