Lines Matching refs:method_desc
473 def _fix_up_parameters(method_desc, root_desc, http_method, schema): argument
497 parameters = method_desc.setdefault("parameters", {})
509 if http_method in HTTP_PAYLOAD_METHODS and "request" in method_desc:
511 body.update(method_desc["request"])
517 def _fix_up_media_upload(method_desc, root_desc, path_url, parameters): argument
545 media_upload = method_desc.get("mediaUpload", {})
558 def _fix_up_method_description(method_desc, root_desc, schema): argument
590 path_url = method_desc["path"]
591 http_method = method_desc["httpMethod"]
592 method_id = method_desc["id"]
594 parameters = _fix_up_parameters(method_desc, root_desc, http_method, schema)
599 method_desc, root_desc, path_url, parameters
648 def __init__(self, method_desc): argument
669 self.set_parameters(method_desc)
671 def set_parameters(self, method_desc): argument
682 for arg, desc in six.iteritems(method_desc.get("parameters", {})):
703 for match in URITEMPLATE.finditer(method_desc["path"]):