Lee-W commented on code in PR #46507:
URL: https://github.com/apache/airflow/pull/46507#discussion_r1946266171


##########
task_sdk/src/airflow/sdk/definitions/_internal/templater.py:
##########
@@ -128,6 +128,8 @@ def _do_render_template_fields(
                 setattr(parent, attr_name, rendered_content)
 
     def _render(self, template, context, dag=None) -> Any:
+        if dag and dag.is_asset_triggerable:
+            context.pop("logical_date", None)

Review Comment:
   just removed it in task_runner



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