code: def test_fedot_api_creation_preserves_default_params(task_type):
      if task_type is TaskTypesEnum.clustering:
          return
      task_type = task_type.name
      builder = FedotBuilder(task_type)
      fedot = builder.build()
      fedot_params = fedot.params
      default_params = ApiParams(input_params={}, problem=task_type)
  
      assert isinstance(fedot, Fedot)
      assert fedot_params == default_params
  
file_path: FEDOT/test/unit/api/test_api_builder.py
imports: from inspect import signature
  from itertools import chain
  import pytest
  from fedot import Fedot, FedotBuilder
  from fedot.api.api_utils.api_params_repository import ApiParamsRepository
  from fedot.api.api_utils.params import ApiParams
  from fedot.core.repository.tasks import TaskTypesEnum
label_desc: Use image node_id 3 for calling a global function with example usage: test_fedot_api_creation_preserves_default_params(task_type) without return types