Merge pull request '1.0.2' (#7) from dev into latest
All checks were successful
Build And Publish Package / publish (push) Successful in 26s

Reviewed-on: #7
This commit is contained in:
2026-04-14 23:38:44 +03:00
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[project] [project]
name = "oxidespotify" name = "oxidespotify"
version = "1.0.1" version = "1.0.2"
description = "Client for Spotify API" description = "Client for Spotify API"
readme = "README.md" readme = "README.md"
authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }] authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }]

View File

@ -93,8 +93,8 @@ class Paginated(BaseModel):
limit: int limit: int
next: HttpUrl | None next: HttpUrl | None
offset: int = 0 offset: int = 0
previous: HttpUrl | None previous: HttpUrl | None = None
total: int total: int = 0
class ExternalUrls(BaseModel): class ExternalUrls(BaseModel):
@ -308,7 +308,7 @@ class Devices(BaseModel):
class RecentlyPlayedTrack(BaseModel): class RecentlyPlayedTrack(BaseModel):
track: Track track: Track
played_at: datetime played_at: datetime
context: Context context: Context | None = None
class RecentlyPlayedTracks(Paginated): class RecentlyPlayedTracks(Paginated):
@ -344,7 +344,7 @@ class PlaylistTracks(Paginated):
class SimplifiedPlaylistTracks(Paginated): class SimplifiedPlaylistTracks(Paginated):
href: HttpUrl href: HttpUrl
total: int total: int = 0
class Playlist(BaseModel): class Playlist(BaseModel):