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


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

Review Comment:
   Why do these need to be imported here instead of at the top?



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