Home
last modified time | relevance | path

Searched refs:method_config (Results 1 – 15 of 15) sorted by relevance

/external/python/apitools/apitools/base/py/
Dbase_api_test.py121 method_config = base_api.ApiMethodInfo(
129 method_config, http_response))
133 service.ProcessHttpResponse(method_config, http_response))
159 method_config = base_api.ApiMethodInfo(
167 service._RunMethod(method_config, request)
178 method_config = base_api.ApiMethodInfo(
186 service._RunMethod(method_config, request)
194 method_config = base_api.ApiMethodInfo(
202 service._RunMethod(method_config, request)
207 self.assertEquals(method_config, http_error.method_config)
[all …]
Dbase_api.py404 def ProcessRequest(self, method_config, request): argument
408 'Calling method %s with %s: %s', method_config.method_id,
409 method_config.request_type_name, request)
428 def ProcessResponse(self, method_config, response): argument
431 method_config.response_type_name, response)
477 method_config = self._method_configs.get(method)
478 if method_config:
479 return method_config
483 method_config = getattr(func, 'method_config', None)
484 if method_config is None:
[all …]
Dexceptions.py55 method_config=None, request=None): argument
60 self.method_config = method_config
Dbatch.py79 def __init__(self, request, retryable_codes, service, method_config): argument
94 self.__method_config = method_config
171 method_config = service.GetMethodConfig(method)
176 method_config, request, global_params=global_params,
181 http_request, self.retryable_codes, service, method_config)
Dutil.py99 def ExpandRelativePath(method_config, params, relative_path=None): argument
101 path = relative_path or method_config.relative_path or ''
103 for param in method_config.path_params:
Dbatch_test.py64 self, method_config, request, global_params, upload_config): argument
/external/python/apitools/samples/storage_sample/storage_v1/
Dstorage_v1_client.py68 Delete.method_config = lambda: base_api.ApiMethodInfo(
94 Get.method_config = lambda: base_api.ApiMethodInfo(
120 Insert.method_config = lambda: base_api.ApiMethodInfo(
146 List.method_config = lambda: base_api.ApiMethodInfo(
172 Patch.method_config = lambda: base_api.ApiMethodInfo(
198 Update.method_config = lambda: base_api.ApiMethodInfo(
234 Delete.method_config = lambda: base_api.ApiMethodInfo(
260 Get.method_config = lambda: base_api.ApiMethodInfo(
286 GetIamPolicy.method_config = lambda: base_api.ApiMethodInfo(
312 Insert.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/
Dfusiontables_v1_client.py67 Delete.method_config = lambda: base_api.ApiMethodInfo(
93 Get.method_config = lambda: base_api.ApiMethodInfo(
119 Insert.method_config = lambda: base_api.ApiMethodInfo(
145 List.method_config = lambda: base_api.ApiMethodInfo(
171 Patch.method_config = lambda: base_api.ApiMethodInfo(
197 Update.method_config = lambda: base_api.ApiMethodInfo(
236 Sql.method_config = lambda: base_api.ApiMethodInfo(
265 SqlGet.method_config = lambda: base_api.ApiMethodInfo(
301 Delete.method_config = lambda: base_api.ApiMethodInfo(
327 Get.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_client.py70 Get.method_config = lambda: base_api.ApiMethodInfo(
113 Query.method_config = lambda: base_api.ApiMethodInfo(
151 Create.method_config = lambda: base_api.ApiMethodInfo(
178 Get.method_config = lambda: base_api.ApiMethodInfo(
205 List.method_config = lambda: base_api.ApiMethodInfo(
237 Submit.method_config = lambda: base_api.ApiMethodInfo(
274 Get.method_config = lambda: base_api.ApiMethodInfo(
304 Patch.method_config = lambda: base_api.ApiMethodInfo(
341 Get.method_config = lambda: base_api.ApiMethodInfo(
371 Patch.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_client.py66 Delete.method_config = lambda: base_api.ApiMethodInfo(
92 Get.method_config = lambda: base_api.ApiMethodInfo(
118 Insert.method_config = lambda: base_api.ApiMethodInfo(
144 List.method_config = lambda: base_api.ApiMethodInfo(
170 Patch.method_config = lambda: base_api.ApiMethodInfo(
196 Update.method_config = lambda: base_api.ApiMethodInfo(
240 Cancel.method_config = lambda: base_api.ApiMethodInfo(
266 Get.method_config = lambda: base_api.ApiMethodInfo(
292 GetQueryResults.method_config = lambda: base_api.ApiMethodInfo(
322 Insert.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/iam_sample/iam_v1/
Diam_v1_client.py67 GetPolicyDetails.method_config = lambda: base_api.ApiMethodInfo(
104 Create.method_config = lambda: base_api.ApiMethodInfo(
131 Delete.method_config = lambda: base_api.ApiMethodInfo(
159 Get.method_config = lambda: base_api.ApiMethodInfo(
186 List.method_config = lambda: base_api.ApiMethodInfo(
224 Create.method_config = lambda: base_api.ApiMethodInfo(
251 Delete.method_config = lambda: base_api.ApiMethodInfo(
278 Get.method_config = lambda: base_api.ApiMethodInfo(
305 GetIamPolicy.method_config = lambda: base_api.ApiMethodInfo(
332 List.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/dns_sample/dns_v1/
Ddns_v1_client.py65 Create.method_config = lambda: base_api.ApiMethodInfo(
91 Get.method_config = lambda: base_api.ApiMethodInfo(
117 List.method_config = lambda: base_api.ApiMethodInfo(
153 Create.method_config = lambda: base_api.ApiMethodInfo(
179 Delete.method_config = lambda: base_api.ApiMethodInfo(
205 Get.method_config = lambda: base_api.ApiMethodInfo(
231 List.method_config = lambda: base_api.ApiMethodInfo(
267 Get.method_config = lambda: base_api.ApiMethodInfo(
303 List.method_config = lambda: base_api.ApiMethodInfo(
/external/python/apitools/apitools/base/py/testing/
Dmock_test.py162 mocked_method_config = mocked_method.method_config()
163 method_config = getattr(service, method).method_config()
164 self.assertEquals(method_config, mocked_method_config)
Dmock.py193 self.method_config = real_method.method_config
/external/grpc-grpc/src/core/lib/transport/
Dservice_config.h147 RefCountedPtr<T> method_config = create_value(json); in ParseJsonMethodConfig() local
148 if (method_config == nullptr) return false; in ParseJsonMethodConfig()
166 entries[*idx].value = method_config; // Takes a new ref. in ParseJsonMethodConfig()