astronaut-chris opened a new issue, #28260:
URL: https://github.com/apache/airflow/issues/28260

   ### 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](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.blobclient?view=azure-python#azure-storage-blob-blobclient-download-blob)
 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?
   
   - [ ] 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]

Reply via email to