code: def test_pseudo_remote_composer_classification():
      connect_params = {}
      common_path = fedot_project_root().joinpath("test", "data")
      exec_params = {
          "container_input_path": common_path,
          "container_output_path": common_path.joinpath("remote"),
          "container_config_path": common_path.joinpath("."),
          "container_image": "test",
          "timeout": 1,
      }
  
      remote_task_params = RemoteTaskParams(
          mode="remote", dataset_name="advanced_classification"
      )
  
      client = TestClient(
          connect_params,
          exec_params,
          output_path=exec_params["container_output_path"],
      )
  
      evaluator = RemoteEvaluator()
  
      evaluator.init(
          client=client, remote_task_params=remote_task_params
      )
  
      composer_params = {
          "pop_size": 3,
          "cv_folds": None,
          "with_tuning": False,
          "preset": "fast_train",
          "show_progress": False,
      }
  
      automl = Fedot(
          problem="classification", timeout=0.1, **composer_params
      )
  
      clf_dataset_pth = common_path.joinpath(
          "advanced_classification.csv"
      )
  
      automl.fit(clf_dataset_pth)
      predict = automl.predict(clf_dataset_pth)
      fitted_pipeline_pth = exec_params[
          "container_output_path"
      ].joinpath("fitted_pipeline")
      shutil.rmtree(
          fitted_pipeline_pth, ignore_errors=True
      )  # recursive deleting
  
      assert predict is not None
  
file_path: FEDOT/test/integration/remote/test_remote_composer.py
imports: import os
  import shutil
  import pytest
  from fedot import Fedot
  from fedot.core.repository.tasks import TsForecastingParams
  from fedot.core.utils import fedot_project_root
  from fedot.remote.infrastructure.clients.test_client import TestClient
  from fedot.remote.remote_evaluator import RemoteEvaluator, RemoteTaskParams
label_desc: Use image node_id 2 for calling a global function with example usage: test_pseudo_remote_composer_classification() without return types