class_docstr: Creates a dataframe containing the lineage assoociations of a SageMaker object.
docstr: Given an arn retrieve all associated lineage entities.
  
  The arn must be one of: experiment, trial, trial component, artifact, action, or context.
  
  Args:
      src_arn (str, optional): The arn of the source. Defaults to None.
      dest_arn (str, optional): The arn of the destination. Defaults to None.
  
  Returns:
      array: An array of associations that are either incoming or outgoing from the lineage
      entity of interest.
docstr_tok: ["Given","an","arn","retrieve","all","associated","lineage","entities",".","The","arn","must","be","one","of",":","experiment",",","trial",",","trial","component",",","artifact",",","action",",","or","context",".","Args",":","src_arn","(","str",",","optional",")",":","The","arn","of","the","source",".","Defaults","to","None",".","dest_arn","(","str",",","optional",")",":","The","arn","of","the","destination",".","Defaults","to","None",".","Returns",":","array",":","An","array","of","associations","that","are","either","incoming","or","outgoing","from","the","lineage","entity","of","interest","."]
code: def _get_associations(
      self,
      src_arn: Optional[str] = None,
      dest_arn: Optional[str] = None,
  ) -> Iterator[AssociationSummary]:
      """Given an arn retrieve all associated lineage entities.
  
      The arn must be one of: experiment, trial, trial component, artifact, action, or context.
  
      Args:
          src_arn (str, optional): The arn of the source. Defaults to None.
          dest_arn (str, optional): The arn of the destination. Defaults to None.
  
      Returns:
          array: An array of associations that are either incoming or outgoing from the lineage
          entity of interest.
      """
      if src_arn:
          associations: Iterator[AssociationSummary] = Association.list(
              source_arn=src_arn, sagemaker_session=self._session
          )
      else:
          associations: Iterator[AssociationSummary] = Association.list(
              destination_arn=dest_arn, sagemaker_session=self._session
          )
      return associations
  
imports: from __future__ import absolute_import
  import logging
  from typing import Optional, Any, Iterator
  import pandas
  from pandas import DataFrame
  from sagemaker.lineage._api_types import AssociationSummary
  from sagemaker.lineage.association import Association
label_desc: Use image node_id 9 for calling the LineageTableVisualizer obj's underlying member method code with example usage: obj._get_associations(src_arn, dest_arn) and returns: associations