code: def test_dataset_artifacts(static_training_job_trial_component):
      artifacts_from_query = (
          static_training_job_trial_component.dataset_artifacts()
      )
      assert len(artifacts_from_query) > 0
      for artifact in artifacts_from_query:
          assert artifact.artifact_type == "DataSet"
  
imports: from __future__ import absolute_import
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_dataset_artifacts(static_training_job_trial_component) without return types