code: def test_create_delete_with_association(action_obj_with_association):
      # fixture does create and then delete, this test ensures it happens at least once
      assert action_obj_with_association.action_arn
  
file_path: sagemaker-python-sdk/tests/integ/sagemaker/lineage/test_action.py
imports: from __future__ import absolute_import
  import datetime
  import logging
  import time
  import pytest
  from sagemaker.lineage import action
  from sagemaker.lineage.query import LineageQueryDirectionEnum
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_delete_with_association(action_obj_with_association) without return types