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)
