in src/azstoragetorch/_client.py [0:0]
def download(self, offset: int = 0, length: Optional[int] = None) -> bytes:
length = self._update_download_length_from_blob_size(offset, length)
if length < self._PARTITIONED_DOWNLOAD_THRESHOLD:
return self._download_with_retries(offset, length)
else:
return self._partitioned_download(offset, length)