code: def from_operations(
      self, available_operations: Optional[List[str]] = None
  ):
      if available_operations:
          operations_for_task_and_data = self.repo.suitable_operation(
              self.data.task.task_type, self.data_type
          )
          operations_to_choose_from = set(
              operations_for_task_and_data
          ).intersection(available_operations)
          _check_operations_to_choose_from(
              self.data, self.data_type, operations_to_choose_from
          )
          if operations_to_choose_from:
              self.ops_filter = WhitelistOperationsFilter(
                  available_operations, operations_to_choose_from
              )
          else:
              # Don't filter pipelines as we're not able to create
              # fallback pipelines without operations_to_choose_from.
              # So, leave default dumb ops_filter.
              self.logger.info(self.UNSUITABLE_AVAILABLE_OPERATIONS_MSG)
      return self
  
imports: from abc import abstractmethod
  from typing import List, Union, Optional, Set, Tuple
  from golem.core.log import default_log
  from fedot.api.api_utils.assumptions.operations_filter import OperationsFilter, WhitelistOperationsFilter
  from fedot.api.api_utils.assumptions.preprocessing_builder import PreprocessingBuilder
  from fedot.api.api_utils.assumptions.task_assumptions import TaskAssumptions
  from fedot.core.data.data import InputData
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.pipeline_builder import PipelineBuilder
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.utilities.custom_errors import AbstractMethodNotImplementError
label_desc: Use image node_id 2 for calling the UniModalAssumptionsBuilder obj's underlying member method code with example usage: obj.from_operations(available_operations) and returns: self