[ 
https://issues.apache.org/jira/browse/BEAM-10013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548530#comment-17548530
 ] 

Danny McCormick commented on BEAM-10013:
----------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/20162

> 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
>            Priority: P3
>
> 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.20.7#820007)

Reply via email to