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

ASF subversion and git services commented on AIRFLOW-2822:
----------------------------------------------------------

Commit 3eb0454cb1da1e96ae5d7ad88db7c1cca71109f3 in incubator-airflow's branch 
refs/heads/master from [~elgalu]
[ https://gitbox.apache.org/repos/asf?p=incubator-airflow.git;h=3eb0454 ]

[AIRFLOW-2822] Fix HipChat Deprecation Warning

Fixes PendingDeprecationWarning on HipChatAPISendRoomNotificationOperator

Using `HipChatAPISendRoomNotificationOperator` on Airflow master branch (2.0) 
gives:

airflow/models.py:2390: PendingDeprecationWarning:
Invalid arguments were passed to HipChatAPISendRoomNotificationOperator.
Support for passing such arguments will be dropped in Airflow 2.0.
Invalid arguments were:
*args: ()
**kwargs: {'color': 'green'}
category=PendingDeprecationWarning


> PendingDeprecationWarning Invalid arguments: 
> HipChatAPISendRoomNotificationOperator
> -----------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-2822
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2822
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib, operators
>    Affects Versions: Airflow 2.0
>            Reporter: Leo Gallucci
>            Assignee: Leo Gallucci
>            Priority: Trivial
>              Labels: easyfix
>
> Using `HipChatAPISendRoomNotificationOperator` on Airflow master branch (2.0) 
> gives:
> {code:python}
> airflow/models.py:2390: PendingDeprecationWarning:
> Invalid arguments were passed to HipChatAPISendRoomNotificationOperator.
> Support for passing such arguments will be dropped in Airflow 2.0.
> Invalid arguments were:
> *args: ()
> **kwargs: {'color': 'green'}
> category=PendingDeprecationWarning
> {code}
> I've fixed this in my fork:
> https://github.com/elgalu/apache-airflow/commit/83fc940f54e5d6531f66bff256f66765899dc055
> I will send a PR



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

Reply via email to