Udi Meiri created BEAM-12465:
--------------------------------
Summary: Fix handling of nested typing.Generic type hints in Py3.7+
Key: BEAM-12465
URL: https://issues.apache.org/jira/browse/BEAM-12465
Project: Beam
Issue Type: Improvement
Components: sdk-py-core
Reporter: Udi Meiri
Assignee: Udi Meiri
When Beam attempts to convert a type hint like `typing.Tuple[PCollection[int],
PCollection[int]]` it will fail in Python 3.7+ with something like:
{code}
TypeError: Parameter to List hint must be a non-sequence, a type, or a
TypeConstraint. PCollection[int] is an instance of _GenericAlias.
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)