code: def _disassociate(
      source_arn=None, destination_arn=None, sagemaker_session=None
  ):
      """Remove the association.
  
      Remove incoming association when source_arn is provided, remove outgoing association when
      destination_arn is provided.
      """
      association_summaries = association.Association.list(
          source_arn=source_arn,
          destination_arn=destination_arn,
          sagemaker_session=sagemaker_session,
      )
  
      for association_summary in association_summaries:
          curr_association = association.Association(
              sagemaker_session=sagemaker_session,
              source_arn=association_summary.source_arn,
              destination_arn=association_summary.destination_arn,
          )
          curr_association.delete()
  
label_desc: Use image node_id 1 for calling a global function with example usage: _disassociate(source_arn, destination_arn, sagemaker_session) without return types