You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Valentyn Tymofieiev (JIRA)" <ji...@apache.org> on 2018/11/01 01:10:00 UTC

[jira] [Comment Edited] (BEAM-5932) Python SDK deprecation warnings are broken

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

Valentyn Tymofieiev edited comment on BEAM-5932 at 11/1/18 1:09 AM:
--------------------------------------------------------------------

[~udim] Deprecation notices are disabled by default in Python. Why does Beam have to enable deprecation notices (and all other warnings that may or many not be enabled) for _everything_?


was (Author: tvalentyn):
[~udim] Deprecation notices are disabled by default in Python. Why does Beam have to enable deprecation notices for _everything_?

> 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)