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

View File

@@ -56,7 +56,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):