Skip to content

Commit 523d751

Browse files
committed
Fixing usage of public connection attribute in datastore system test.
Also fixing a merge issue with new datastore Iterator.
1 parent 2e52fa0 commit 523d751

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

datastore/google/cloud/datastore/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def _next_page(self):
492492
pb = self._build_protobuf()
493493
transaction = self.client.current_transaction
494494

495-
query_results = self.client.connection.run_query(
495+
query_results = self.client._connection.run_query(
496496
query_pb=pb,
497497
project=self._query.project,
498498
namespace=self._query.namespace,

system_tests/datastore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def clone_client(client):
4545
cloned_client = datastore.Client(project=client.project,
4646
namespace=client.namespace,
4747
http=object())
48-
cloned_client.connection = client.connection
48+
cloned_client._connection = client._connection
4949
return cloned_client
5050

5151

0 commit comments

Comments
 (0)