Skip to content

Commit

Permalink
Wait for iNaturalist load completion before compiling statistics (#4104)
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound authored Apr 15, 2024
1 parent 079bf0e commit 4051522
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions catalog/dags/providers/provider_api_scripts/inaturalist.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,16 +438,14 @@ def create_ingestion_workflow():
task_id="consolidate_load_statistics",
python_callable=INaturalistDataIngester.consolidate_load_statistics,
op_kwargs={
"all_results": XCOM_PULL_TEMPLATE.format(
load_transformed_data.task_id, "return_value"
),
"all_results": load_transformed_data.output,
},
doc_md=(
"Total load counts across batches from load_transformed_data."
),
retries=0,
trigger_rule=TriggerRule.NONE_SKIPPED,
)

(
create_loading_table
>> get_batches
Expand Down

0 comments on commit 4051522

Please sign in to comment.