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/25 03:19:28 UTC

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

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



##########
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:
       I check the Microsoft document you gave above and find these two parameters are default value.
   Ok, I can add this as you suggested




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