mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
28 lines
524 B
Python
28 lines
524 B
Python
from typing import List
|
|
|
|
from app.chain import ChainBase
|
|
from app.db.workflow_oper import WorkflowOper
|
|
from app.schemas import Workflow
|
|
|
|
|
|
class WorkflowChain(ChainBase):
|
|
"""
|
|
工作流链
|
|
"""
|
|
|
|
def __init__(self):
|
|
super().__init__()
|
|
self.workflowoper = WorkflowOper()
|
|
|
|
def process(self, workflow_id: int) -> bool:
|
|
"""
|
|
处理工作流
|
|
"""
|
|
pass
|
|
|
|
def get_workflows(self) -> List[Workflow]:
|
|
"""
|
|
获取工作流列表
|
|
"""
|
|
pass
|