Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 91437f4

Browse filesBrowse files
committed
Adding _grpc_catch_rendezvous to _DatastoreAPIOverGRPC.lookup.
Missed in googleapis#2590.
1 parent 842c486 commit 91437f4
Copy full SHA for 91437f4

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎datastore/google/cloud/datastore/connection.py

Copy file name to clipboardExpand all lines: datastore/google/cloud/datastore/connection.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ def lookup(self, project, request_pb):
300300
:returns: The returned protobuf response object.
301301
"""
302302
request_pb.project_id = project
303-
return self._stub.Lookup(request_pb)
303+
with _grpc_catch_rendezvous():
304+
return self._stub.Lookup(request_pb)
304305

305306
def run_query(self, project, request_pb):
306307
"""Perform a ``runQuery`` request.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.