Skip to content

Commit 9142051

Browse files
committed
Merge pull request #487 from tseaver/439-split_query_iterator
Fix #439: split query vs. iterator apart.
2 parents b79d862 + 2516ff8 commit 9142051

7 files changed

Lines changed: 903 additions & 1004 deletions

File tree

gcloud/datastore/dataset.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
from gcloud.datastore import helpers
1818
from gcloud.datastore.entity import Entity
19-
from gcloud.datastore.query import Query
2019
from gcloud.datastore.transaction import Transaction
2120

2221

@@ -75,19 +74,6 @@ def id(self):
7574

7675
return self._id
7776

78-
def query(self, *args, **kwargs):
79-
"""Create a query bound to this dataset.
80-
81-
:param args: positional arguments, passed through to the Query
82-
83-
:param kw: keyword arguments, passed through to the Query
84-
85-
:rtype: :class:`gcloud.datastore.query.Query`
86-
:returns: a new Query instance, bound to this dataset.
87-
"""
88-
kwargs['dataset'] = self
89-
return Query(*args, **kwargs)
90-
9177
def entity(self, kind, exclude_from_indexes=()):
9278
"""Create an entity bound to this dataset.
9379

0 commit comments

Comments
 (0)