class_docstr: Quasi-dataclass for the input parameters of external pipeline fitting
code: def load_from_file(self, file: Union[str, bytes]):
      config = configparser.ConfigParser()
  
      if isinstance(file, bytes):
          config.read_string(file.decode("utf-8"))
      else:
          if not os.path.exists(file):
              raise ValueError("Config not found")
          config.read(file, encoding="utf-8")
  
      processed_config = PipelineRunConfig(config)
  
      if "{fedot_base_path}" in processed_config.input_data:
          processed_config.input_data = (
              processed_config.input_data.format(
                  fedot_base_path=fedot_project_root()
              )
          )
  
      return processed_config
  
file_path: FEDOT/fedot/remote/pipeline_run_config.py
imports: import ast
  import configparser
  import os
  from typing import Union
  from fedot.core.repository.tasks import Task, TaskTypesEnum, TsForecastingParams
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 2 for calling the PipelineRunConfig obj's underlying member method code with example usage: obj.load_from_file(file) and returns: processed_config