class_docstr: Creates an object used for performing lineage queries.
class_docstr_tok: ["Creates","an","object","used","for","performing","lineage","queries","."]
docstr: Convert lineage query API response to an Edge.
docstr_tok: ["Convert","lineage","query","API","response","to","an","Edge","."]
code: def _get_edge(self, edge):
      """Convert lineage query API response to an Edge."""
      return Edge(
          source_arn=edge["SourceArn"],
          destination_arn=edge["DestinationArn"],
          association_type=edge["AssociationType"]
          if "AssociationType" in edge
          else None,
      )
  
imports: from __future__ import absolute_import
  from datetime import datetime
  from enum import Enum
  from typing import Any, Optional, Union, List, Dict
  from json import dumps
  from re import sub, search
  from sagemaker.utils import get_module
  from sagemaker.lineage._utils import get_resource_name_from_arn
label_desc: Use image node_id 2 for calling the LineageQuery obj's underlying member method code with example usage: obj._get_edge(edge) and returns: Edge