Files
xiaoxia-saas/packages/ports/generated_video_repository.py
T
Xiaoxia AI b79d6718d6
Deploy / Deploy Production (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 2096h38m24s
style: normalize python formatting gates
2026-06-21 06:52:19 +08:00

16 lines
453 B
Python

from __future__ import annotations
from typing import Protocol
from packages.domain import GeneratedVideo
class GeneratedVideoRepository(Protocol):
def create(self, video: GeneratedVideo) -> GeneratedVideo: ...
def get(self, video_id: str) -> GeneratedVideo | None: ...
def list_by_project(self, project_id: str) -> list[GeneratedVideo]: ...
def list_by_generation_task(self, generation_task_id: str) -> list[GeneratedVideo]: ...