Skip to content

Commit 1f47823

Browse files
committed
Adding _grpc_catch_rendezvous to _DatastoreAPIOverGRPC.lookup.
Missed in #2590.
1 parent 05b5059 commit 1f47823

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datastore/google/cloud/datastore/connection.py

Lines 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)