Skip to content

Commit

Permalink
fix: task id in xcom pull
Browse files Browse the repository at this point in the history
  • Loading branch information
HAEKADI committed Nov 27, 2024
1 parent f31045e commit bce989c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/data_pipelines/egapro/egapro_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def _push_unique_siren_count(self, df_egapro):
def send_file_to_minio(self):
super().send_file_to_minio()
ti = get_current_context()["ti"]
nb_siren = ti.xcom_pull(key="nb_siren_egapro", task_ids="process_egapro")
nb_siren = ti.xcom_pull(key="nb_siren_egapro", task_ids="preprocess_egapro")
message = f"{nb_siren} unités légales."
ti.xcom_push(key=Notification.notification_xcom_key, value=message)

0 comments on commit bce989c

Please sign in to comment.