udim commented on a change in pull request #15967:
URL: https://github.com/apache/beam/pull/15967#discussion_r749569196
##########
File path: sdks/python/apache_beam/typehints/typehints.py
##########
@@ -462,7 +462,7 @@ def match_type_variables(self, concrete_type):
return {self: concrete_type}
def bind_type_variables(self, bindings):
- return bindings.get(self, self)
+ return bindings.get(self, bindings.get('*', self))
Review comment:
Maybe add a comment explaining what the special key `'*'` means, i.e.,
that it will apply to all unbound type variables.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]