pierrejeambrun commented on code in PR #51003:
URL: https://github.com/apache/airflow/pull/51003#discussion_r2106876030


##########
airflow-core/docs/administration-and-deployment/plugins.rst:
##########
@@ -192,13 +194,28 @@ definitions in Airflow.
         "name": "Name of the Middleware",
     }
 
+    # Creating a iframe view that will be rendered in the Airflow UI.
+    iframe_view_with_metadata = {
+        "name": "Name of the Iframe View",
+        # Source URL of the iframe. This URL can be templated using context 
variables.
+        "src": "https://example.com/{DAG_ID}/{RUN_ID}/{TASK_ID}";,

Review Comment:
   > Do we have defined the elements that can be templated? Assuming it is in 
"Task Instance" it will be DAG_ID, RUN_ID, TASK_ID. MAP_INDEX? And if it is on 
"dag" level then only DAG_ID?
   
   Correct! Depending on the `destination` target the available variable in the 
context will change. I've updated the documentation to reflect that.



-- 
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]

Reply via email to