This is an automated email from the ASF dual-hosted git repository.
jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new e2335a00ce explicit string cast required to force integer-type run_ids
to be passed as strings instead of integers (#36756)
e2335a00ce is described below
commit e2335a00cea898d83e17b3eb69959656daae883e
Author: Evgeny <[email protected]>
AuthorDate: Sat Jan 13 11:19:39 2024 -0500
explicit string cast required to force integer-type run_ids to be passed as
strings instead of integers (#36756)
---
airflow/operators/trigger_dagrun.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/operators/trigger_dagrun.py
b/airflow/operators/trigger_dagrun.py
index 0bca11a801..ab74d4c862 100644
--- a/airflow/operators/trigger_dagrun.py
+++ b/airflow/operators/trigger_dagrun.py
@@ -157,7 +157,7 @@ class TriggerDagRunOperator(BaseOperator):
raise AirflowException("conf parameter should be JSON
Serializable")
if self.trigger_run_id:
- run_id = self.trigger_run_id
+ run_id = str(self.trigger_run_id)
else:
run_id = DagRun.generate_run_id(DagRunType.MANUAL,
parsed_execution_date)