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

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

I meant warnings.warn(). If we  print(warnings.filter), there are filters set 
by other Beam dependencies, for example: ('ignore', None, <class 
'urllib3.exceptions.DependencyWarning'>, None, 0), which we were overriding. 
Your change  #6907   is a better way to address this, thank you.

> 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: Udi Meiri
>            Priority: Blocker
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> [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