10 lines
284 B
Python
10 lines
284 B
Python
from pydantic import BaseModel
|
|
from typing import List
|
|
from .song import SongResponse
|
|
from .playlist import PlaylistResponse
|
|
|
|
class SearchResultResponse(BaseModel):
|
|
songs: List[SongResponse] = []
|
|
playlists: List[PlaylistResponse] = []
|
|
query: str
|
|
total_results: int = 0 |