Skip to content

Commit

Permalink
Merge pull request googleapis#2601 from dhermes/oops-missed-in-2590
Browse files Browse the repository at this point in the history
Adding _grpc_catch_rendezvous to _DatastoreAPIOverGRPC.lookup.
  • Loading branch information
dhermes authored Oct 25, 2016
2 parents 842c486 + 91437f4 commit 65aef59
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 65aef59

Please sign in to comment.