def __init__(self, dataset_id, connection): from gcloud.datastore.batch import Batch self._batch = Batch(dataset_id, connection)
def __init__(self, client): from gcloud.datastore.batch import Batch self._client = client self._batch = Batch(client)
def batch(self): """Proxy to :class:`gcloud.datastore.batch.Batch`.""" return Batch(self)
def batch(self): """Proxy to :class:`gcloud.datastore.batch.Batch`. Passes our ``dataset_id``. """ return Batch(self)