You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/19 07:07:19 UTC

[GitHub] [airflow] eladkal commented on a change in pull request #14887: Update BashOperator import

eladkal commented on a change in pull request #14887:
URL: https://github.com/apache/airflow/pull/14887#discussion_r597448151



##########
File path: airflow/example_dags/tutorial.py
##########
@@ -30,7 +30,7 @@
 from airflow import DAG
 
 # Operators; we need this to operate!
-from airflow.operators.bash import BashOperator
+from airflow.operators.bash_operator import BashOperator

Review comment:
       What is the reason for this change?
   `bash_operator` is deprecated
   https://github.com/apache/airflow/blob/16f43605f3370f20611ba9e08b568ff8a7cd433d/airflow/operators/bash_operator.py#L26




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org