OperationcodeCreatorAgent:ソース:flow:FlowPrint.py

from flow.FlowBase import FlowBase

# デバッグ用に使う


class FlowPrint(FlowBase):
    def __init__(self, text):
        super().__init__()
        self.set_category("flow")
        self.set_type("print")
        self.text = text
        print("FlowPrint.__init", text)

    def append_process(self, process):
        print("print can not use append_process")
        return process
    
    def run(self, command=None, pre_respons=None, flow_data=None):
        print("FlowPrint.run", self.text)
        return "", pre_respons