Exemplo n.º 1
0
 def __init__(self, dataset_id, connection):
     from gcloud.datastore.batch import Batch
     self._batch = Batch(dataset_id, connection)
Exemplo n.º 2
0
 def __init__(self, client):
     from gcloud.datastore.batch import Batch
     self._client = client
     self._batch = Batch(client)
Exemplo n.º 3
0
 def batch(self):
     """Proxy to :class:`gcloud.datastore.batch.Batch`."""
     return Batch(self)
Exemplo n.º 4
0
    def batch(self):
        """Proxy to :class:`gcloud.datastore.batch.Batch`.

        Passes our ``dataset_id``.
        """
        return Batch(self)