class_docstr: Creates a dataframe containing the lineage assoociations of a SageMaker object.
docstr: Given a model package arn retrieve the arn lineage entity.
  
  Args:
      model_package_arn (str): The arn of a model package.
  
  Returns:
      str: The arn of the lineage entity that represents the model package.
docstr_tok: ["Given","a","model","package","arn","retrieve","the","arn","lineage","entity",".","Args",":","model_package_arn","(","str",")",":","The","arn","of","a","model","package",".","Returns",":","str",":","The","arn","of","the","lineage","entity","that","represents","the","model","package","."]
code: def _get_start_arn_from_model_package_arn(
      self, model_package_arn: str
  ) -> str:
      """Given a model package arn retrieve the arn lineage entity.
  
      Args:
          model_package_arn (str): The arn of a model package.
  
      Returns:
          str: The arn of the lineage entity that represents the model package.
      """
      response: Any = self._session.sagemaker_client.list_artifacts(
          SourceUri=model_package_arn
      )
      artifacts: Any = response["ArtifactSummaries"]
      artifact_arn: str = None
      if artifacts:
          artifact_arn = artifacts[0]["ArtifactArn"]
      else:
          logging.debug("No artifacts found for %s.", model_package_arn)
      return artifact_arn
  
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 7 for calling the LineageTableVisualizer obj's underlying member method code with example usage: obj._get_start_arn_from_model_package_arn(model_package_arn) and returns: artifact_arn