first commit

This commit is contained in:
2024-04-25 09:43:18 +02:00
commit bbd78faf09
4 changed files with 119 additions and 0 deletions

17
models.py Normal file
View File

@@ -0,0 +1,17 @@
from typing import Optional, List
import gspread
from pydantic import BaseModel
class GoogleFile(BaseModel):
file_id: str
file_name: str
class Genre(BaseModel):
genre_id: Optional[int]
genre_name: str
class Song(BaseModel):
song_id: Optional[int]
song_title: str
url: str
genres: List[Genre]