From fc7cbf45f148f29c4326ee495c3e0a34081f8784 Mon Sep 17 00:00:00 2001 From: georgelgeback Date: Mon, 16 Feb 2026 16:13:04 +0000 Subject: [PATCH] Added song edit schema for the frontend --- api_schemas/song_schemas.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api_schemas/song_schemas.py b/api_schemas/song_schemas.py index 514319af..44c4974f 100644 --- a/api_schemas/song_schemas.py +++ b/api_schemas/song_schemas.py @@ -12,6 +12,15 @@ class SongRead(BaseSchema): views: int +class SongEdit(BaseSchema): + id: int + title: str + author: str | None + melody: str | None + content: str + category_id: int + + class SongCreate(BaseSchema): title: str author: str | None