Apache Airflow version
2.5.0
What happened
Prior to Azure provider 5.0.0, WasbHook.get_file only required three arguments (file_path, container_name, and blob_name), but now two additional parameters - length and offset - are required by the underlying WasbHook.download method. However the underlying BlobClient.download_blob method has length and offset as optional.
What you think should happen instead
length and offset should continue to be optional in WasbHook.download (and therefore WasbHook.get_file).
How to reproduce
Call WasbHook.get_file with only the initial three arguments (file_path, container_name, and blob_name).
Operating System
Debian Slim
Versions of Apache Airflow Providers
apache-airflow-providers-microsoft-azure==5.0.0
Deployment
Astronomer
Deployment details
No response
Anything else
Just wanted to say I really love your issue submission form.
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
2.5.0
What happened
Prior to Azure provider 5.0.0,
WasbHook.get_fileonly required three arguments (file_path,container_name, andblob_name), but now two additional parameters -lengthandoffset- are required by the underlyingWasbHook.downloadmethod. However the underlyingBlobClient.download_blobmethod haslengthandoffsetas optional.What you think should happen instead
lengthandoffsetshould continue to be optional inWasbHook.download(and thereforeWasbHook.get_file).How to reproduce
Call
WasbHook.get_filewith only the initial three arguments (file_path,container_name, andblob_name).Operating System
Debian Slim
Versions of Apache Airflow Providers
apache-airflow-providers-microsoft-azure==5.0.0Deployment
Astronomer
Deployment details
No response
Anything else
Just wanted to say I really love your issue submission form.
Are you willing to submit PR?
Code of Conduct