This commit is contained in:
imperosol
2025-04-21 20:37:01 +02:00
parent b20861b389
commit 831a32e1c9
17 changed files with 426 additions and 134 deletions

View File

@@ -55,7 +55,12 @@ class AlbumAutocompleteSchema(ModelSchema):
@staticmethod
def resolve_path(obj: Album) -> str:
return str(Path(obj.get_parent_path()) / obj.name)
return str(Path(obj.parent_path) / obj.name)
class MoveAlbumSchema(Schema):
id: int
new_parent_id: int
class PictureFilterSchema(FilterSchema):