code: def test_list_empty(sagemaker_session):
      sagemaker_session.sagemaker_client.list_trial_components.return_value = {
          "TrialComponentSummaries": []
      }
      assert [] == list(
          _TrialComponent.list(sagemaker_session=sagemaker_session)
      )
  
imports: from __future__ import absolute_import
  import datetime
  import unittest.mock
  from unittest.mock import patch
  import botocore
  from sagemaker import Session
  from sagemaker.experiments import _api_types
  from sagemaker.experiments._api_types import TrialComponentSearchResult, Parent, _TrialComponentStatusType
  from sagemaker.experiments.trial_component import _TrialComponent
label_desc: Use image node_id 8 for calling a global function with example usage: test_list_empty(sagemaker_session) without return types