code: def __init__(self, operation_types: Union[List[str], str]):
      super().__init__(operation_types)
      self.params: dict = (
          self.operation_params_with_bounds_by_operation_name.get(
              self.operation_types[0]
          )
      )
      self.num_vars: int = len(self.params)
      self.names: List[str] = list(self.params.keys())
      self.bounds: List[list] = list(self.params.values())
  
imports: import json
  from abc import abstractmethod
  from os.path import join
  from typing import List, Union
  from fedot.core.utils import fedot_project_root
  from fedot.utilities.custom_errors import AbstractMethodNotImplementError
label_desc: Use image node_id 1 to create a new OneOperationProblem object from inherited base classes: Problem with example: obj = OneOperationProblem(operation_types)