Skip to content

Commit

Permalink
(Temporarily) restore top-level dataset import.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Jan 5, 2015
1 parent 539c418 commit 4645b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcloud/datastore/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from gcloud.datastore import _implicit_environ
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
from gcloud.datastore import helpers
from gcloud.datastore.dataset import Dataset
from gcloud.datastore.key import Key


Expand Down Expand Up @@ -132,7 +133,6 @@ def dataset(self, value):
:type value: class:`gcloud.datastore.dataset.Dataset`
:param value: the new dataset
"""
from gcloud.datastore.dataset import Dataset
if not isinstance(value, Dataset):
raise ValueError("Dataset must be a Dataset")
self._dataset = value
Expand Down

0 comments on commit 4645b72

Please sign in to comment.