Rectifier / App /Editor /Schema.py
Mbonea's picture
intial commit
1c1e321
raw
history blame
254 Bytes
from typing import List, Optional
from pydantic import BaseModel, HttpUrl
class EditorRequest(BaseModel):
links: Optional[List[HttpUrl]]
script: str
class TaskInfo(BaseModel):
task_id: str
progress: int
completed_tasks: List[str]