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 to blob.download_as_string in GoogleCloudStorageClient's method _get_file_as_bytes_from_bucket, because Blob class doesn't support download_as_bytes in Composer's version (==1.13.2) of google.cloud.storage.
Edited by Yan Sushchynski [EPAM/GC]

Merge request reports

Loading