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

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