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

Valentyn Tymofieiev commented on BEAM-5932:
-------------------------------------------

To rephrase, that line affects the behavior of all warnings, not just warnings 
produced by Beam. If we believe Beam deprecation warnings must surface by 
default, (and not when a user passes a flag to enable them), then we should set 
a Beam-specific filter.

> Python SDK deprecation warnings are broken
> ------------------------------------------
>
>                 Key: BEAM-5932
>                 URL: https://issues.apache.org/jira/browse/BEAM-5932
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Udi Meiri
>            Assignee: Ruoyun Huang
>            Priority: Blocker
>
> [https://github.com/apache/beam/pull/6687]
> removed the line
> {code:python}
> warnings.simplefilter("once"){code}
> from annotations.py.
> This disables all deprecation warnings.
> Please fix.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to