dag.py 196 B

1234567891011
  1. from pydantic import BaseModel
  2. class Dag(BaseModel):
  3. dag_uuid: str
  4. dag_script: str
  5. class Requirements(BaseModel):
  6. # 依赖
  7. requirements: str
  8. # dag文件uuid
  9. dag_uuid: str