thesuperzapper commented on issue #36090: URL: https://github.com/apache/airflow/issues/36090#issuecomment-2101920452
@sunank200 also note that using the `self.task_instance` of the BaseTrigger will require __at least Airflow 2.6.0__, it was added by this PR https://github.com/apache/airflow/pull/29482. Upstream this should be fine, as all providers currently pin `apache-airflow>=2.6.0`: - https://github.com/apache/airflow/blob/2.9.1/airflow/providers/databricks/provider.yaml#L64 But for those wanting to backport this fix into Airflow 2.5.3 (and older), they will need to use something like what I have done in https://github.com/apache/airflow/issues/36090#issuecomment-2094972855 and add the `dag_id`, `task_id`, and `run_id` to the `serialize()` method of the triggerer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
