Exemple #1
0
 def batch(self):
     """Proxy to :class:`google.cloud.datastore.batch.Batch`."""
     return Batch(self)
Exemple #2
0
 def __init__(self, client):
     from google.cloud.datastore.batch import Batch
     self._client = client
     self._batch = Batch(client)
     self._batch.begin()