Skip to content

Commit

Permalink
Fixing usage of public connection attribute in datastore system test.
Browse files Browse the repository at this point in the history
Also fixing a merge issue with new datastore Iterator.
  • Loading branch information
dhermes committed Nov 11, 2016
1 parent 2e52fa0 commit 523d751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datastore/google/cloud/datastore/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def _next_page(self):
pb = self._build_protobuf()
transaction = self.client.current_transaction

query_results = self.client.connection.run_query(
query_results = self.client._connection.run_query(
query_pb=pb,
project=self._query.project,
namespace=self._query.namespace,
Expand Down
2 changes: 1 addition & 1 deletion system_tests/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def clone_client(client):
cloned_client = datastore.Client(project=client.project,
namespace=client.namespace,
http=object())
cloned_client.connection = client.connection
cloned_client._connection = client._connection
return cloned_client


Expand Down

0 comments on commit 523d751

Please sign in to comment.