The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user michalc (triggered by eladkal).

Head commit for run:
47dfaf05c81dc77517e3bcfd5ed720650e302025 / Michal Charemza 
<[email protected]>
Allow FileTaskHandler to delegate to instances of logging.Handler

FileTaskHandler is the base class for logging handlers, including those that
don't log to files via delegating to logging.FileHandler, e.g. in the
CloudwatchTaskHandler at
https://github.com/apache/airflow/blob/2940b9fa55a6a72c60c2162e541631addec3d6b8/airflow/providers/amazon/aws/log/cloudwatch_task_handler.py#L67

It is suspected that type checking is not enabled in this part of the
CloudwatchTaskHandler otherwise it would have already been failing.

This change adjusts the base class so if type checking is enabled in the task
handler, if it delegates to a logging.Handler that is not a logging.FileHandler
as the CloudWatchHandler, then the type checking should pass.

This was originally part of https://github.com/apache/airflow/pull/31855 and
split out.

related: https://github.com/apache/airflow/issues/31834

Report URL: https://github.com/apache/airflow/actions/runs/5631601056

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to