saavan-google-intern commented on a change in pull request #11939:
URL: https://github.com/apache/beam/pull/11939#discussion_r441120323
##########
File path: sdks/python/apache_beam/typehints/typehints.py
##########
@@ -435,10 +435,14 @@ def type_check(self, instance):
class TypeVariable(AnyTypeConstraint):
- def __init__(self, name):
+ def __init__(self, name, ignore_name=False):
self.name = name
+ self.ignore_name = ignore_name
def __eq__(self, other):
+ if self.ignore_name:
Review comment:
Thanks, pushed a fix - it's used for one test in
native_type_compatability_test.py
Also added unit tests for the new changes to TypeVariable
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]