You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/11/15 18:29:00 UTC
[GitHub] [beam] robertwb commented on a change in pull request #15967: Fully resolve type variables after PTransform type inference.
robertwb commented on a change in pull request #15967:
URL: https://github.com/apache/beam/pull/15967#discussion_r749580432
##########
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:
Good point. Done.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org