def _GetRemoteResourceLimits(logging_context):
 try:
  yaml_data = logging_context.Send('/api/appversion/getresourcelimits')
 except urllib2.HTTPError as err:
  if (err.code != 404):
   raise
  return {}
 return yaml.safe_load(yaml_data)

def _GetRemoteResourceLimits ( logging_context ) : try : yaml_data = logging_context . Send ( '/api/appversion/getresourcelimits' ) except urllib2 . HTTPError as err : if ( err . code != 404 ) : raise return { } return yaml . safe_load ( yaml_data )
get the resource limit as reported by the admin console .