mango766 commented on issue #58770:
URL: https://github.com/apache/airflow/issues/58770#issuecomment-4060486197
I've investigated this issue and identified the root cause. In
`airflow_local_settings.py`, when `remote_task_handler_kwargs` contains
FileTaskHandler parameters like `max_bytes`, `backup_count`, or `delay`, these
are merged into the RemoteLogIO constructor call (e.g., `WasbRemoteLogIO`),
which doesn't accept them -- causing the `TypeError`. After the RemoteLogIO is
created, `remote_task_handler_kwargs` is reset to `{}`, so the FileTaskHandler
config at the end never receives those parameters either.
The fix separates handler-level kwargs from remote I/O kwargs upfront, so
each class receives only the parameters it understands. Opening a PR shortly.
--
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]