Skip to content

Commit

Permalink
Remove TODO from datastore.query.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Sep 23, 2014
1 parent 34665f6 commit 1c55105
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions gcloud/datastore/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
from gcloud.datastore.key import Key


# TODO: Figure out how to properly handle namespaces.

class Query(object):
"""A Query against the Cloud Datastore.
Expand Down Expand Up @@ -60,7 +58,6 @@ def __init__(self, kind=None, dataset=None):
self._pb.kind.add().name = kind

def _clone(self):
# TODO(jjg): Double check that this makes sense...
clone = copy.deepcopy(self)
clone._dataset = self._dataset # Shallow copy the dataset.
return clone
Expand Down Expand Up @@ -216,8 +213,6 @@ def kind(self, *kinds):
If a kind is provided, returns a clone of the :class:`Query`
with those kinds set.
"""
# TODO: Do we want this to be additive?
# If not, clear the _pb.kind attribute.
if kinds:
clone = self._clone()
for kind in kinds:
Expand Down

0 comments on commit 1c55105

Please sign in to comment.