def pre_call_hook(service, call, request, response, rpc=None):
 if recorder_proxy.has_recorder_for_current_request():
  if config.DEBUG:
   logging.debug('pre_call_hook: recording %s.%s', service, call)
  recorder_proxy.record_rpc_request(service, call, request, response, rpc)

def pre_call_hook ( service , call , request , response , rpc = None ) : if recorder_proxy . has_recorder_for_current_request ( ) : if config . DEBUG : logging . debug ( 'pre_call_hook: recording %s.%s' , service , call ) recorder_proxy . record_rpc_request ( service , call , request , response , rpc )
pre-call hook function for apiprixy_stub_map .