feat(application-form-fill): 新增模板配置骨架
This commit is contained in:
21
review_agent/application_form_fill/workflow.py
Normal file
21
review_agent/application_form_fill/workflow.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from review_agent.application_form_fill.constants import FORM_FILL_NODE_DEFINITIONS, WORKFLOW_TYPE
|
||||
|
||||
|
||||
class FormFillWorkflowExecutor:
|
||||
"""Workflow executor scaffold filled in by later AFF stages."""
|
||||
|
||||
def __init__(self, batch):
|
||||
self.batch = batch
|
||||
|
||||
def run(self) -> None:
|
||||
raise NotImplementedError("application_form_fill workflow is implemented in later AFF stages.")
|
||||
|
||||
|
||||
def start_application_form_fill_workflow(batch, *, async_run: bool = True) -> None:
|
||||
executor = FormFillWorkflowExecutor(batch)
|
||||
if async_run:
|
||||
executor.run()
|
||||
return
|
||||
executor.run()
|
||||
Reference in New Issue
Block a user