From aef44948312c9a87f11368ee9be143d644153b06 Mon Sep 17 00:00:00 2001 From: Daniel Thorn Date: Thu, 7 Mar 2019 14:27:39 -0800 Subject: [PATCH] Fix flake8 and docstyle on master (#12) --- dags/desktop_clients_daily.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dags/desktop_clients_daily.py b/dags/desktop_clients_daily.py index 8d0f5f2ca8..c3bfd0fafc 100644 --- a/dags/desktop_clients_daily.py +++ b/dags/desktop_clients_daily.py @@ -1,3 +1,8 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, you can obtain one at http://mozilla.org/MPL/2.0/. +"""clients_daily and derived tables.""" + import datetime from airflow import models @@ -39,7 +44,8 @@ with models.DAG( exact_mau_by_dimensions = BigQueryOperator( task_id="exact_mau_by_dimensions", bql="sql/firefox_desktop_exact_mau28_by_dimensions_v1.sql", - destination_dataset_table="analysis.firefox_desktop_exact_mau28_by_dimensions_v1${{ds_nodash}}", + destination_dataset_table="analysis." + "firefox_desktop_exact_mau28_by_dimensions_v1${{ds_nodash}}", write_disposition="WRITE_TRUNCATE", use_legacy_sql=False, ) @@ -49,7 +55,8 @@ with models.DAG( exact_mau = BigQueryOperator( task_id="exact_mau", bql="sql/firefox_desktop_exact_mau28_v1.sql", - destination_dataset_table="analysis.firefox_desktop_exact_mau28_v1${{ds_nodash}}", + destination_dataset_table="analysis." + "firefox_desktop_exact_mau28_v1${{ds_nodash}}", write_disposition="WRITE_TRUNCATE", use_legacy_sql=False, )