0
我已经访问命令行传统的数据存储如下sqlite的数据存储:访问命令行
from google.appengine.api import apiproxy_stub_map
from google.appengine.api.datastore_file_stub import DatastoreFileStub
os.environ['APPLICATION_ID']="myapp"
apiproxy_stub_map.apiproxy=apiproxy_stub_map.APIProxyStubMap()
stubname, stub = 'datastore_v3', DatastoreFileStub(os.environ["APPLICATION_ID"], Datastore, "/")
apiproxy_stub_map.apiproxy.RegisterStub(stubname, stub)
我已经升级到sqlite的数据存储,并需要更新存根(也许stubname) ,据推测与DatastoreSqliteStub,但似乎无法初始化它;有什么建议么 ?
谢谢!
你能比“似乎无法初始化它”更具体吗?当你尝试时会发生什么? –