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

Beam JIRA Bot commented on BEAM-8473:
-------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> Python typehints: spurious warnings for Generator None args
> -----------------------------------------------------------
>
>                 Key: BEAM-8473
>                 URL: https://issues.apache.org/jira/browse/BEAM-8473
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Udi Meiri
>            Assignee: Udi Meiri
>            Priority: P2
>              Labels: stale-assigned
>
> GeneratorHint outputs warnings if the 2 last args of typing.Generator are not 
> None.
> 1. Compare to type(None) instead of None, since that's what the code converts 
> those to. (assert on logging output)
> 2. Bug: comparing send_type in both cases.
> https://github.com/apache/beam/blob/06fa1cc2a92a6f4f0e05f162ee2eb78b072920d9/sdks/python/apache_beam/typehints/typehints.py#L1088-L1091



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

Reply via email to