class_docstr: Base class for operations in nodes. Operations could be machine learning
  (or statistical) models or data operations
  
  Args:
      operation_type: name of the operation
docstr: Serializes object and ignores unrelevant fields.
docstr_tok: ["Serializes","object","and","ignores","unrelevant","fields","."]
code: def to_json(self) -> Dict[str, Any]:
      """Serializes object and ignores unrelevant fields."""
      return {
          k: v
          for k, v in sorted(vars(self).items())
          if k
          not in [
              "log",
              "operations_repo",
              "_eval_strategy",
              "fitted_operation",
          ]
      }
  
imports: from abc import abstractmethod
  from typing import Any, Dict, Optional, Union
  from golem.core.log import default_log
  from golem.serializers.serializer import register_serializable
  from fedot.core.data.data import InputData, OutputData
  from fedot.core.operations.hyperparameters_preprocessing import HyperparametersPreprocessor
  from fedot.core.operations.operation_parameters import OperationParameters
  from fedot.core.repository.operation_types_repository import OperationMetaInfo
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.core.repository.tasks import Task, TaskTypesEnum, compatible_task_types
  from fedot.utilities.custom_errors import AbstractMethodNotImplementError
label_desc: Use image node_id 12 for calling the Operation obj's underlying member method code with example usage: obj.to_json() and returns: unknown