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] [Created] (BEAM-8490) Python typehints: properly resolve empty dict type

Udi Meiri created BEAM-8490:
-------------------------------

             Summary: 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


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)