You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Udi Meiri (Jira)" <ji...@apache.org> on 2019/10/25 22:30:00 UTC

[jira] [Updated] (BEAM-8490) Python typehints: properly resolve empty dict type

     [ https://issues.apache.org/jira/browse/BEAM-8490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udi Meiri updated BEAM-8490:
----------------------------
    Status: Open  (was: Triage Needed)

> Python typehints: properly resolve empty dict type
> --------------------------------------------------
>
>                 Key: BEAM-8490
>                 URL: https://issues.apache.org/jira/browse/BEAM-8490
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Udi Meiri
>            Assignee: Udi Meiri
>            Priority: Major
>
> Currently:
> {code}
> trivial_inference.instance_to_type({})
> {code}
> returns
> {code}
> Dict[Union[], Union[]]
> {code}
> instead of
> {code}
> Dict[Any,Any]
> {code}



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