diff --git a/airflow/providers/microsoft/azure/hooks/wasb.py b/airflow/providers/microsoft/azure/hooks/wasb.py index 7758ef0c92780..0aa579d877635 100644 --- a/airflow/providers/microsoft/azure/hooks/wasb.py +++ b/airflow/providers/microsoft/azure/hooks/wasb.py @@ -244,7 +244,7 @@ def read_file(self, container_name: str, blob_name: str, **kwargs): :param kwargs: Optional keyword arguments that `BlobClient.download_blob` takes. :type kwargs: object """ - return self.download(container_name, blob_name, **kwargs).readall() + return self.download(container_name, blob_name, **kwargs).content_as_text() def upload( self,