class_docstr: Creates an object used for performing lineage queries.
class_docstr_tok: ["Creates","an","object","used","for","performing","lineage","queries","."]
docstr: Remove the vertex with duplicate arn in the vertices list.
docstr_tok: ["Remove","the","vertex","with","duplicate","arn","in","the","vertices","list","."]
code: def _update_cross_account_vertex(self, query_response, duplicate_arn):
      """Remove the vertex with duplicate arn in the vertices list."""
      query_response.vertices = [
          v
          for v in query_response.vertices
          if not v.arn == duplicate_arn
      ]
  
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 7 for calling the LineageQuery obj's underlying member method code with example usage: obj._update_cross_account_vertex(query_response, duplicate_arn) without return types