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