def _MakeSyncCall(service, call, request, response, config=None):
 conn = _GetConnection()
 if isinstance(request, datastore_pb.Query):
  conn._set_request_read_policy(request, config)
  conn._set_request_transaction(request)
 rpc = conn.make_rpc_call(config, call, request, response)
 conn.check_rpc_success(rpc)
 return response

def _MakeSyncCall ( service , call , request , response , config = None ) : conn = _GetConnection ( ) if isinstance ( request , datastore_pb . Query ) : conn . _set_request_read_policy ( request , config ) conn . _set_request_transaction ( request ) rpc = conn . make_rpc_call ( config , call , request , response ) conn . check_rpc_success ( rpc ) return response
the apiproxy entry point for a synchronous api call .