Udi Meiri created BEAM-10013:
--------------------------------

             Summary: Python type hints: fix arbitrary argument hints
                 Key: BEAM-10013
                 URL: https://issues.apache.org/jira/browse/BEAM-10013
             Project: Beam
          Issue Type: Bug
          Components: sdk-py-core
            Reporter: Udi Meiri


Fix annotation import in from_callable to support annotations on arbitrary 
(variadic) arguments.

For example, in IOTypeHintsTest.test_from_callable, the annotation for args and 
kwargs should be:
{code}
*args: T
**kwargs: str
{code}
and converted to this in from_callable:
{code}
Tuple[T, ...]
Dict[str, str]
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to