class_docstr: Operator base class, implements __init__ and __call__,
  
  Examples:
      class AddOperator(Operator):
          def __init__(self, factor: int):
              self._factor = factor
  
          def __call__(self, num)
              return self._factor + num
class_docstr_tok: ["Operator","base","class",",","implements","__init__","and","__call__",",","Examples",":","class","AddOperator","(","Operator",")",":","def","__init__","(","self",",","factor",":","int",")",":","self._factor","=","factor","def","__call__","(","self",",","num",")","return","self._factor","+","num"]
docstr: This method is triggered by RuntimePipeline.flush().
  
  After the pipeline runs, some operators may need to trigger some additional operations,
  such as the to_faiss operator needing to trigger data storage.
docstr_tok: ["This","method","is","triggered","by","RuntimePipeline.flush","(",")",".","After","the","pipeline","runs",",","some","operators","may","need","to","trigger","some","additional","operations",",","such","as","the","to_faiss","operator","needing","to","trigger","data","storage","."]
code: def flush(self):
      """
      This method is triggered by RuntimePipeline.flush().
  
      After the pipeline runs, some operators may need to trigger some additional operations,
      such as the to_faiss operator needing to trigger data storage.
      """
      pass
  
imports: from abc import abstractmethod, ABC
  from enum import Enum
  from enum import Flag, auto
label_desc: Use image node_id 6 for calling the Operator obj's underlying member method code with example usage: obj.flush() without return types