1.0.2 #7

Merged
Miwory merged 1 commits from dev into latest 2026-04-14 23:38:44 +03:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 3cbed95c08 - Show all commits

View File

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

View File

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