This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Description Environment details
OS type and version: MacOS
Python version: 3.10.16
pip version: 23.0.1
google-cloud-storage version: 2.19
Steps to reproduce
See the following code
Code example
from google .cloud .storage import Blob
from google .cloud .storage import Bucket
from google .cloud .storage import Client
from google .cloud .storage .fileio import BlobReader
test_file = "textio/textio-test-data.default.1k.txt"
client = Client ("apache-beam-testing" )
bucket = Bucket (client = client , name = "apache-beam-samples" )
blob = Blob (test_file , bucket = bucket )
reader = BlobReader (blob , raw_download = True )
reader .seek (0 )
Stack trace
Traceback (most recent call last):
File "PATH/gcs-client-bug.py", line 13, in <module>
reader.seek(0)
File "python/venv/lib/python3.10/site-packages/google/cloud/storage/fileio.py", line 181, in seek
self._blob.reload(**self._download_kwargs)
TypeError: _PropertyMixin.reload() got an unexpected keyword argument 'raw_download'
Reactions are currently unavailable
Environment details
23.0.1google-cloud-storageversion:2.19Steps to reproduce
Code example
Stack trace