You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/07/15 17:27:00 UTC
[jira] [Commented] (BEAM-10013) Python type hints: fix arbitrary
argument hints
[ https://issues.apache.org/jira/browse/BEAM-10013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158559#comment-17158559 ]
Beam JIRA Bot commented on BEAM-10013:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.
> 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: P2
> Labels: stale-P2
>
> 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)