jscheffl commented on code in PR #60638: URL: https://github.com/apache/airflow/pull/60638#discussion_r2743591932
########## airflow-core/docs/authoring-and-scheduling/asset-scheduling.rst: ########## @@ -171,6 +171,12 @@ You can access this information in your tasks using Jinja templating or directly Accessing triggering asset events with Jinja ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.. note:: + + The ``source_dag_run`` attribute of ``AssetEvent`` is available starting + from Apache Airflow 3.2.0. In Airflow 3.1.x, this attribute is not exposed + to Jinja templates, and attempting to access it will result in a template + rendering error. Review Comment: You can make it a bit leaner, we have a macro for this: ```suggestion .. versionadded:: 3.2.0 ``` -- 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]
