potiuk commented on a change in pull request #20482:
URL: https://github.com/apache/airflow/pull/20482#discussion_r774504965



##########
File path: airflow/utils/log/file_task_handler.py
##########
@@ -82,13 +82,15 @@ def _render_filename(self, ti: "TaskInstance", try_number: 
int) -> str:
                 context = Context(ti=ti, 
ts=ti.get_dagrun().logical_date.isoformat())

Review comment:
       I guess "total = False" came from here. I'd say we should have a way to 
create "default" Context with all the fields present with default values and 
override the fields needed.




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