You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/24 11:03:03 UTC

[GitHub] [airflow] ephraimbuddy commented on a change in pull request #14313: Fix remote log in azure storage blob displays in one line

ephraimbuddy commented on a change in pull request #14313:
URL: https://github.com/apache/airflow/pull/14313#discussion_r581864345



##########
File path: 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()

Review comment:
       ```suggestion
           return self.download(container_name, blob_name, **kwargs).content_as_text(max_concurrency=1, encoding='utf-8')
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org