Skip to content

Commit

Permalink
Adding _grpc_catch_rendezvous to _DatastoreAPIOverGRPC.lookup.
Browse files Browse the repository at this point in the history
Missed in googleapis#2590.
  • Loading branch information
dhermes committed Oct 25, 2016
1 parent 842c486 commit 91437f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datastore/google/cloud/datastore/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ def lookup(self, project, request_pb):
:returns: The returned protobuf response object.
"""
request_pb.project_id = project
return self._stub.Lookup(request_pb)
with _grpc_catch_rendezvous():
return self._stub.Lookup(request_pb)

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

0 comments on commit 91437f4

Please sign in to comment.