Note
Because the Datastore client uses the grpcio
library by default and uses third-party requests
library if the GRPC is disabled, clients are safe to share instances across threads. In multiprocessing scenarios, the best practice is to create client instances after multiprocessing.Pool
or multiprocessing.Process
invokes os.fork
.
client entities keys queries transactions batches helpers admin_client
See the guide below for instructions on migrating to the 2.x release of this library.
UPGRADING
For a list of all google-cloud-datastore
releases:
changelog