View source on GitHub |
Update the cloud datastore emulator's config with its client side cache.
google.appengine.datastore.datastore_stub_util.UpdateEmulatorConfig(
port, auto_id_policy=None, consistency_policy=None
)
Args | |
---|---|
port
|
A integer indicating the port number of emulator. |
auto_id_policy
|
A string indicating how GCD Emulator assigns auto IDs, should be either SEQUENTIAL or SCATTERED. |
consistency_policy
|
An instance of PseudoRandomHRConsistencyPolicy or MasterSlaveConsistencyPolicy. |