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 62204e7 commit c8e145fCopy full SHA for c8e145f
gcloud/datastore/entity.py
@@ -213,7 +213,8 @@ def reload(self):
213
exist only locally.
214
"""
215
key = self._must_key
216
- entity = key.get()
+ connection = self._must_dataset.connection()
217
+ entity = key.get(connection=connection)
218
219
if entity:
220
self.update(entity)
gcloud/datastore/test_entity.py
@@ -264,7 +264,8 @@ def is_partial(self):
264
def path(self):
265
return self._path
266
267
- def get(self):
+ def get(self, connection=None):
268
+ self._connection_used = connection
269
return self._stored
270
271
0 commit comments