code: def test_load(trial_component_obj, sagemaker_session):
      loaded = trial_component._TrialComponent.load(
          trial_component_name=trial_component_obj.trial_component_name,
          sagemaker_session=sagemaker_session,
      )
      assert (
          trial_component_obj.trial_component_arn
          == loaded.trial_component_arn
      )
  
file_path: sagemaker-python-sdk/tests/integ/sagemaker/experiments/test_trial_component.py
imports: from __future__ import absolute_import
  import datetime
  import uuid
  from sagemaker.experiments._api_types import _TrialComponentStatusType
  from tests.integ.sagemaker.experiments.helpers import EXP_INTEG_TEST_NAME_PREFIX
  from sagemaker.experiments import _api_types, trial_component
  from sagemaker.utilities.search_expression import Filter, Operator, SearchExpression
label_desc: Use image node_id 5 for calling a global function with example usage: test_load(trial_component_obj, sagemaker_session) without return types