feat: Add pagination with total count to generation listings and enable filtering assets by type.
This commit is contained in:
@@ -18,6 +18,11 @@ class GenerationRequest(BaseModel):
|
||||
assets_list: List[str]
|
||||
|
||||
|
||||
class GenerationsResponse(BaseModel):
|
||||
generations: List["GenerationResponse"]
|
||||
total_count: int
|
||||
|
||||
|
||||
class GenerationResponse(BaseModel):
|
||||
id: str
|
||||
status: GenerationStatus
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user