code: def test_dataset(static_image_artifact, sagemaker_session):
      artifacts_from_query = static_image_artifact.datasets(
          direction=LineageQueryDirectionEnum.DESCENDANTS
      )
      assert len(artifacts_from_query) > 0
      for artifact in artifacts_from_query:
          assert artifact.artifact_type == "DataSet"
          assert "artifact" in artifact.artifact_arn
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_dataset(static_image_artifact, sagemaker_session) without return types