You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
TypeError: expected string or bytes-like object #501
Traceback (most recent call last):
File "", line 40, in
GoogleStorage().download_blob_as_string(uri='')
File "", line 23, in download_blob_as_string
return blob.download_as_string(retry=custom_retry)
File "\venv\lib\site-packages\google\cloud\storage\blob.py", line 1520, in download_as_string
warnings.warn(
TypeError: expected string or bytes-like object
Activity
nicwest commentedon Jul 14, 2021
python-storage/google/cloud/storage/blob.py
Lines 138 to 141 in 6486010
dangling comma at the end of the line
nicwest commentedon Jul 14, 2021
same thing with
_COMPOSE_IF_METAGENERATION_LIST_DEPRECATEDpython-storage/google/cloud/storage/blob.py
Lines 129 to 134 in 6486010
blob.py: remove dangling comma in _DOWNLOAD_AS_STRING_DEPRECATED
fix(blob.py): remove dangling commas from message strings
fix: remove trailing commas from error message constants (#505)
fix: remove trailing commas from error message constants (googleapis#505
fix: remove trailing commas from error message constants (googleapis#505