Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdks/python/apache_beam/typehints/typehints.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def __repr__(self):
return 'Any'

def __hash__(self):
# TODO(BEAM - 3730)
# TODO(BEAM-3730): Fix typehints.TypeVariable issues with __hash__.
return hash(id(self))

def type_check(self, instance):
Expand All @@ -432,7 +432,7 @@ def __eq__(self, other):
return type(self) == type(other) and self.name == other.name

def __hash__(self):
# TODO(BEAM - 3730)
# TODO(BEAM-3730): Fix typehints.TypeVariable issues with __hash__.
return hash(id(self))

def __repr__(self):
Expand Down