We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6c09e commit 36313a2Copy full SHA for 36313a2
gcloud/datastore/entity.py
@@ -166,7 +166,6 @@ def reload(self):
166
# Note that you must have a valid key, otherwise this makes no sense.
167
entity = self.dataset().get_entities(self.key().to_protobuf())
168
169
- # TODO(jjg): Raise an error if something dumb happens.
170
if entity:
171
self.update(entity)
172
return self
@@ -207,7 +206,6 @@ def delete(self):
207
206
dataset_id=self.dataset().id(), key_pb=self.key().to_protobuf())
208
209
def __repr__(self):
210
- # TODO: Make sure that this makes sense.
211
# An entity should have a key all the time (even if it's partial).
212
if self.key():
213
return '<Entity%s %s>' % (self.key().path(), super(Entity, self).__repr__())
0 commit comments