kaxil commented on a change in pull request #4071: [AIRFLOW-3237] Refactor
example DAGs
URL: https://github.com/apache/incubator-airflow/pull/4071#discussion_r226841710
##########
File path: airflow/example_dags/example_bash_operator.py
##########
@@ -17,48 +17,54 @@
# specific language governing permissions and limitations
# under the License.
-import airflow
from builtins import range
-from airflow.operators.bash_operator import BashOperator
-from airflow.operators.dummy_operator import DummyOperator
-from airflow.models import DAG
from datetime import timedelta
+import airflow
+from airflow.models import DAG
+from airflow.operators.bash_operator import BashOperator
+from airflow.operators.dummy_operator import DummyOperator
-args = {
- 'owner': 'airflow',
- 'start_date': airflow.utils.dates.days_ago(2)
-}
+args = {'owner': 'airflow', 'start_date': airflow.utils.dates.days_ago(2)}
Review comment:
Don't understand why we need this refactor?
It looked better formatted.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services