dag.py 197 B

123456789101112
  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