git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kwargs usage in BaseOperator


On Monday, May 21, 2018, Tao Feng <fengtao04@xxxxxxxxx> wrote:

>
> I wonder whether we still have the plan to remove kwargs in airflow 2.0(do
> we have the timeline for airflow 2.0?) as the warning generates too many
> noises for our internal production env as well as the travis CI log.
>
>
>

This may be annoying for your logs, but you should spend the time to fix
your code to not generate these warnings.  I recently upgraded my system
from airflow 1.7.0 to airflow 1.9.0 and had to fix a lot of DAG code to not
print DeprecationWarnings.  It was a lot of work, but it was worth it.

--
Craig


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-airflow-development/msg03439.html on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0009363128{main}( ).../msg03439.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-airflow-development/msg03439.html on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0009363128{main}( ).../msg03439.html:0