22 lines
636 B
Python
22 lines
636 B
Python
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()
|