Fix bugs in FileHandler and GoogleCloudStorageClient
Type of change
-
Bug Fix -
Feature
Does this introduce a change in the core logic?
- [No]
Does this introduce a change in the cloud provider implementation, if so which cloud?
-
AWS -
Azure -
GCP -
IBM
What is the current behavior?
- Fixed bug connected with variables' names in
_get_file_from_preload_path
of FileHandler class. - Changed
blob.download_as_bytes
toblob.download_as_string
inGoogleCloudStorageClient
's method_get_file_as_bytes_from_bucket
, because Blob class doesn't supportdownload_as_bytes
in Composer's version (==1.13.2) ofgoogle.cloud.storage
.
Edited by Yan Sushchynski (EPAM)