def _MakeSyncSearchServiceCall(call, request, response, deadline):
 _ValidateDeadline(deadline)
 logging.warning('_MakeSyncSearchServiceCall is deprecated; please use API.')
 try:
  if (deadline is None):
   apiproxy_stub_map.MakeSyncCall('search', call, request, response)
  else:
   rpc = apiproxy_stub_map.UserRPC('search', deadline=deadline)
   rpc.make_call(call, request, response)
   rpc.wait()
   rpc.check_success()
 except apiproxy_errors.ApplicationError as e:
  raise _ToSearchError(e)

def _MakeSyncSearchServiceCall ( call , request , response , deadline ) : _ValidateDeadline ( deadline ) logging . warning ( '_MakeSyncSearchServiceCall is deprecated; please use API.' ) try : if ( deadline is None ) : apiproxy_stub_map . MakeSyncCall ( 'search' , call , request , response ) else : rpc = apiproxy_stub_map . UserRPC ( 'search' , deadline = deadline ) rpc . make_call ( call , request , response ) rpc . wait ( ) rpc . check_success ( ) except apiproxy_errors . ApplicationError as e : raise _ToSearchError ( e )
deprecated: make a synchronous call to search service .