roncool opened a new issue, #54104:
URL: https://github.com/apache/airflow/issues/54104
### Apache Airflow Provider(s)
samba
### Versions of Apache Airflow Providers
4.10.2
### Apache Airflow version
2.10.3
### Operating System
Debian GNU/Linux 12 (bookworm)
### Deployment
Virtualenv installation
### Deployment details
_No response_
### What happened
_No response_
### What you think should happen instead
_No response_
### How to reproduce
Using open_file from the samba provider will return None instead of the file
as expected:
`with samba_hook.open_file(remote_path, "rb") as f, open(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object does not support the context manager protocol
During handling of the above exception, another exception occurred:`
### 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]