uranusjr commented on code in PR #55408:
URL: https://github.com/apache/airflow/pull/55408#discussion_r2341338627


##########
task-sdk/src/airflow/sdk/definitions/asset/__init__.py:
##########
@@ -489,6 +496,40 @@ def asprofile(self) -> AssetProfile:
         """
         return AssetProfile(name=self.name or None, uri=self.uri or None, 
type=Asset.__name__)
 
+    import jinja2
+
+    from airflow.sdk.definitions.context import Context
+
+    def render_event_extra_template(
+        self,
+        context: Context,
+        jinja_env: jinja2.Environment | None = None,
+    ) -> dict[str, Any]:

Review Comment:
   I don’t think we should expose this to users; this should probably be 
defined in task_runner instead, maybe as a simple function instead of on a 
class.



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