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 a Vertex.
docstr_tok: ["Convert","lineage","query","API","response","to","a","Vertex","."]
code: def _get_vertex(self, vertex):
      """Convert lineage query API response to a Vertex."""
      vertex_type = None
      if "Type" in vertex:
          vertex_type = vertex["Type"]
      return Vertex(
          arn=vertex["Arn"],
          lineage_source=vertex_type,
          lineage_entity=vertex["LineageType"],
          sagemaker_session=self._session,
      )
  
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 3 for calling the LineageQuery obj's underlying member method code with example usage: obj._get_vertex(vertex) and returns: Vertex