Migrating from App Engine Files API

前端 未结 4 1215
终归单人心
终归单人心 2020-12-21 11:27

My app stores a bunch of images as blobs. This is roughly how I store images.

from google.appengine.api import files
# ...
fname = files.blobstore.create(mim         


        
4条回答
  •  暖寄归人
    2020-12-21 11:52

    The files have all been going into GCS for a while. The blobstore is just an alternate way to access it. The blob keys and access shouldn't be affected.

    You will, however, need to stop using the files API itself and start using the GCS API to create the files.

提交回复
热议问题