code: def __init__(self, operation_types: Union[List[str], str]):
      self.operation_types = operation_types
      self.num_vars = None
      self.names = None
      self.bounds = None
  
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 Problem object  with example: obj = Problem(operation_types)