return albums in get artist

This commit is contained in:
cwilvx
2024-10-13 18:13:00 +03:00
parent 99b30b5894
commit 7ef63c1f10
4 changed files with 56 additions and 30 deletions
+1 -1
View File
@@ -24,7 +24,6 @@ class ArtistHashSchema(BaseModel):
"""
Extending this class will give you a model with the `artisthash` field
"""
artisthash: str = Field(
description="The artist hash",
example=Defaults.API_ARTISTHASH,
@@ -68,6 +67,7 @@ class TrackLimitSchema(BaseModel):
description="The number of tracks to return",
example=Defaults.API_CARD_LIMIT,
default=Defaults.API_CARD_LIMIT,
alias="tracklimit",
)