MCPcopy
hub / github.com/1Panel-dev/MaxKB / __init__

Method __init__

apps/application/flow/tool_workflow_manage.py:25–31  ·  view source on GitHub ↗
(self, flow: Workflow, params, work_flow_post_handler: WorkFlowPostHandler,
                 base_to_response: BaseToResponse = SystemToResponse(), form_data=None,
                 start_node_id=None,
                 start_node_data=None, chat_record=None, child_node=None, is_the_task_interrupted=lambda: False)

Source from the content-addressed store, hash-verified

23
24class ToolWorkflowManage(WorkflowManage):
25 def __init__(self, flow: Workflow, params, work_flow_post_handler: WorkFlowPostHandler,
26 base_to_response: BaseToResponse = SystemToResponse(), form_data=None,
27 start_node_id=None,
28 start_node_data=None, chat_record=None, child_node=None, is_the_task_interrupted=lambda: False):
29 super().__init__(flow, params, work_flow_post_handler, base_to_response, form_data, None, None, None,
30 None, None, start_node_id, start_node_data, chat_record, child_node, is_the_task_interrupted)
31 self.out_context = {}
32
33 def get_params_serializer_class(self):
34 return ToolFlowParamsSerializer

Callers

nothing calls this directly

Calls 1

SystemToResponseClass · 0.90

Tested by

no test coverage detected