class_docstr: A vertex for a lineage graph.
class_docstr_tok: ["A","vertex","for","a","lineage","graph","."]
docstr: Define hash function for ``Vertex``.
docstr_tok: ["Define","hash","function","for","``","Vertex","``","."]
code: def __hash__(self):
      """Define hash function for ``Vertex``."""
      return hash(
          (
              "arn",
              self.arn,
              "lineage_entity",
              self.lineage_entity,
              "lineage_source",
              self.lineage_source,
          )
      )
  
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 Vertex obj's underlying member method code with example usage: obj.__hash__() and returns: hash