Skip to content

Commit 32d78c3

Browse files
committed
Search bugfix: Use consistent variable names
As is, line 265 throws an error because python expects to pass `bucket` and `prefix` variables to `search_aggregates_etl` and `search_clients_daily_etl`.
1 parent 264e088 commit 32d78c3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

mozetl/search/aggregates.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,15 @@ def generate_rollups(submission_date, output_bucket, output_prefix,
233233

234234

235235
# Generate ETL jobs - these are useful if you want to run a job from ATMO
236-
def search_aggregates_etl(submission_date, output_bucket, output_prefix,
236+
def search_aggregates_etl(submission_date, bucket, prefix,
237237
**kwargs):
238-
generate_rollups(submission_date, output_bucket, output_prefix,
238+
generate_rollups(submission_date, bucket, prefix,
239239
3, search_aggregates, **kwargs)
240240

241241

242-
def search_clients_daily_etl(submission_date, output_bucket, output_prefix,
242+
def search_clients_daily_etl(submission_date, bucket, prefix,
243243
**kwargs):
244-
generate_rollups(submission_date, output_bucket, output_prefix,
244+
generate_rollups(submission_date, bucket, prefix,
245245
1, search_clients_daily, **kwargs)
246246

247247

0 commit comments

Comments
 (0)