jjavieralonso opened a new issue, #45880: URL: https://github.com/apache/airflow/issues/45880
### Apache Airflow version Other Airflow 2 version (please specify below) ### If "Other Airflow 2 version" selected, which one? 2.2.3 ### What happened? The validation of transfer_config_args in te S3Hook was not correctly checking the types of the provided arguments. This led to improper handling of transfer configurations, potentially causing unexpected errors during file transfer to/from S3. ### What you think should happen instead? transfer_config_args should be validated properly by checking the types of the provided arguments. Specifiically, a TypeError should be raised when invalid types are provided instead of the previously raised ValueError. ### How to reproduce 1. Use the S3Hook in a DAG with transfer operation, providing incorrect types of transfer_config_args. 2. Observe the incorrect validation behavior and the error raised. ### Operating System Linux Ubuntu 20.04 ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
