code: def operations_for_task(task_name: str):
      """Function filter operations by task and returns dictionary with names of
      models and data operations
  
      :param task_name: name of available task type
  
      :return dict_with_operations: dictionary with operations
          - models: appropriate models for task
          - data operations: appropriate data operations for task
      """
  
      task = _get_task_by_name(task_name)
  
      # Get models and data operations
      models_repo = OperationTypesRepository()
      data_operations_repo = OperationTypesRepository(
          operation_type="data_operation"
      )
  
      appropriate_models = models_repo.suitable_operation(
          task_type=task
      )
      appropriate_data_operations = (
          data_operations_repo.suitable_operation(task_type=task)
      )
  
      dict_with_operations = {
          "model": appropriate_models,
          "data operation": appropriate_data_operations,
      }
  
      return dict_with_operations
  
file_path: FEDOT/fedot/api/help.py
imports: from fedot.core.pipelines.tuning.search_space import PipelineSearchSpace
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.core.repository.tasks import TaskTypesEnum
label_desc: Use image node_id 4 for calling a global function with example usage: operations_for_task(task_name) and returns: dict_with_operations