15 lines
314 B
Python
15 lines
314 B
Python
from .base import BaseConfig
|
|
|
|
from uuid import UUID
|
|
from pydantic import BaseModel, Field
|
|
from typing import Annotated, Optional, List
|
|
|
|
|
|
class RunChainInput(BaseModel):
|
|
task_id: int
|
|
chain_id: str
|
|
recipients: Annotated[Optional[List[int]], Field(default=[])]
|
|
|
|
class Config(BaseConfig):
|
|
pass
|