jrmccluskey commented on issue #24685: URL: https://github.com/apache/beam/issues/24685#issuecomment-1386023945
I'm actually having a bit of trouble reproducing the error described here and in https://github.com/pangeo-forge/pangeo-forge-recipes/pull/470. The only 0-arity types we handle are `typing.NewType`, `typing.ForwardRef`, `typing.Any`, and `typing.NamedTuple` but I'm not able get a `typing.Tuple[K, V]` to trip the logic and fall into one of these categories instead of `typing.Tuple`. For any parameterized definition of `typing.Tuple` the boolean check that would route it to a `NamedTuple` is `hasattr(user_type, '__annotations__')) == true`. -- 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-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org