This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-8-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 62ad354b76d7aceafa3e9534b768db3a2eed04b2 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) (cherry picked from commit e2335a00cea898d83e17b3eb69959656daae883e) --- 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)
