class_docstr: Base class for determining what type of operations should be defined
  in the node. Possible operations are models (ML models with fit and predict
  methods) and data operations (e.g. scaling) with fit and transform methods
docstr: The method determines what type of operations is set for this node
  
  :return : operations type 'model', 'automl' or 'data_operation'
docstr_tok: ["The","method","determines","what","type","of","operations","is","set","for","this","node",":","return",":","operations","type","'model","'",",","'automl","'","or","'data_operation","'"]
code: def _define_operation_type(self) -> str:
      """
      The method determines what type of operations is set for this node
  
      :return : operations type 'model', 'automl' or 'data_operation'
      """
  
      # Get available models from model_repository.json file
      operations_repo = OperationTypesRepository("data_operation")
      operations = operations_repo.operations
      if (
          "automl"
          in OperationTypesRepository.get_available_repositories()
      ):
          automl_repo = OperationTypesRepository("automl")
          models_automl = automl_repo.operations
      else:
          models_automl = []
  
      operation_name = get_operation_type_from_id(self.operation_name)
  
      # If there is a such model in the list
      if any(operation_name == model.id for model in operations):
          operation_type = "data_operation"
      elif any(operation_name == model.id for model in models_automl):
          operation_type = "automl"
      # Otherwise - it is model
      else:
          operation_type = "model"
      return operation_type
  
file_path: FEDOT/fedot/core/operations/factory.py
imports: from fedot.core.operations.automl import AutoML
  from fedot.core.operations.data_operation import DataOperation
  from fedot.core.operations.model import Model
  from fedot.core.operations.operation import Operation
  from fedot.core.repository.operation_types_repository import OperationTypesRepository, get_operation_type_from_id
label_desc: Use image node_id 4 for calling the OperationFactory obj's underlying member method code with example usage: obj._define_operation_type() and returns: operation_type