This commit is contained in:
imperosol
2025-04-21 20:37:01 +02:00
parent 9a0ae505e0
commit e362d29808
16 changed files with 417 additions and 117 deletions
+6 -1
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):