diff --git a/packages/domain/generated_video.py b/packages/domain/generated_video.py index dcef4b437..9d15e8c69 100755 --- a/packages/domain/generated_video.py +++ b/packages/domain/generated_video.py @@ -10,7 +10,6 @@ from uuid import uuid4 class GeneratedVideo: id: str project_id: str - user_id: str generation_task_id: str name: str file_url: str @@ -19,6 +18,7 @@ class GeneratedVideo: width: int height: int fps: float + user_id: str = "" thumbnail_url: str | None = None status: str = "completed" review_status: str = "pending_review" @@ -33,11 +33,11 @@ class GeneratedVideo: def create( cls, project_id: str, - user_id: str, generation_task_id: str, name: str, file_url: str, *, + user_id: str = "", file_size: int = 0, duration: float = 0.0, width: int = 0,