potiuk commented on code in PR #28234:
URL: https://github.com/apache/airflow/pull/28234#discussion_r1043831399
##########
airflow/providers/microsoft/azure/hooks/wasb.py:
##########
@@ -385,7 +385,7 @@ def upload(
return blob_client.upload_blob(data, blob_type, length=length,
**kwargs)
def download(
- self, container_name, blob_name, offset: int, length: int, **kwargs
+ self, container_name, blob_name, offset: int | None = None, length:
int | None = None, **kwargs
Review Comment:
I think it's best to consult the docs to be sure:
https://mypy.readthedocs.io/en/stable/config_file.html#examples .
I can't remember all nuances, but I beleve this is the package whic azure
storage provides.
--
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]