code: def __init__(
      self,
      node: PipelineNode = None,
      operation_id: int = None,
      nodes_from: list = None,
  ):
      super().__init__()
      self.operation_name = None
      self.custom_params = None
      self.params = None
      self.fitted_operation = None
      self.fitted_operation_path = None
      self.rating = None
  
      if node:
          self._operation_to_template(node, operation_id, nodes_from)
  
imports: import os
  from abc import ABC, abstractmethod
  from io import BytesIO
  from typing import Any, Optional, Union
  import joblib
  import numpy
  from golem.core.log import default_log
  from fedot.core.pipelines.node import PipelineNode
label_desc: Use image node_id 1 to create a new OperationTemplate object from inherited base classes: OperationTemplateAbstract with example: obj = OperationTemplate(node, operation_id, nodes_from)