kaxil commented on a change in pull request #4071: [AIRFLOW-3237] Refactor
example DAGs
URL: https://github.com/apache/incubator-airflow/pull/4071#discussion_r226841724
##########
File path: airflow/example_dags/example_branch_operator.py
##########
@@ -17,43 +17,47 @@
# specific language governing permissions and limitations
# under the License.
-import airflow
-from airflow.operators.python_operator import BranchPythonOperator
-from airflow.operators.dummy_operator import DummyOperator
-from airflow.models import DAG
import random
+import airflow
+from airflow.models import DAG
+from airflow.operators.dummy_operator import DummyOperator
+from airflow.operators.python_operator import BranchPythonOperator
-args = {
- 'owner': 'airflow',
- 'start_date': airflow.utils.dates.days_ago(2)
-}
+args = {'owner': 'airflow', 'start_date': airflow.utils.dates.days_ago(2)}
Review comment:
Same here
----------------------------------------------------------------
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