开发者

Can I read from the AppEngine BlobStore using the remote api

开发者 https://www.devze.com 2023-02-11 12:56 出处:网络
I am trying to read (and subsequently save) blobs from the blobstore using the remote api.I get the error: \"No api proxy found for service \"blobstore\"\" when I execute the read.

I am trying to read (and subsequently save) blobs from the blobstore using the remote api. I get the error: "No api proxy found for service "blobstore"" when I execute the read. Here is the stub code:

    for b in bs.BlobInfo.all().fetch(100):
        blob_reader = bs.BlobReader(str(b.key))
        file = blo开发者_运维技巧b_reader.read()

the error occurs on the line: file = blob_reader.read() I am reading the file from my personal appspot via terminal with:

python tools/remote_api/blobstore_download.py --servername=myinstance.appspot.com --appid=myinstance

So, reading from the blobstore possible via the remote api? or is my code bad? Any suggestions?


We recently added blobstore support to remote_api. Make sure you're using the latest version of the SDK, and your error should go away.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号