You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Define API methods statically
This moves the methods definition to classic methods on API classes, and
refactor the code a bit to reduce duplication.
* Regenerate client from commit 289b515 of spec repo
Co-authored-by: Thomas Hervé <[email protected]>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
Co-authored-by: ci.datadog-api-spec <[email protected]>
{{paramName}} ({{dataType}}):{{#description}} {{{description}}}.{{/description}} defaults to {{{defaultValue}}}, must be one of [{{{defaultValue}}}]
73
-
{{/defaultValue}}
74
-
{{/requiredParams}}
75
-
76
-
Keyword Args:{{#optionalParams}}
77
-
{{paramName}} ({{dataType}}):{{#description}} {{{description}}}.{{/description}} [optional]{{#defaultValue}} if omitted the server will use the default value of {{{defaultValue}}}{{/defaultValue}}{{/optionalParams}}
78
-
_return_http_data_only (bool): response data without head status
79
-
code and headers. Default is True.
80
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
81
-
will be returned without reading/decoding response data.
82
-
Default is True.
83
-
_request_timeout (float/tuple): timeout setting for this request. If one
84
-
number provided, it will be total request timeout. It can also
85
-
be a pair (tuple) of (connection, read) timeouts.
86
-
Default is None.
87
-
_check_input_type (bool): specifies if type checking
88
-
should be done one the data sent to the server.
89
-
Default is True.
90
-
_check_return_type (bool): specifies if type checking
91
-
should be done one the data received from the server.
92
-
Default is True.
93
-
_host_index (int/None): specifies the index of the server
{{paramName}} ({{dataType}}):{{#description}} {{{description}}}.{{/description}} defaults to {{{defaultValue}}}, must be one of [{{{defaultValue}}}]
252
+
{{/defaultValue}}
253
+
{{/requiredParams}}
254
+
255
+
Keyword Args:{{#optionalParams}}
256
+
{{paramName}} ({{dataType}}):{{#description}} {{{description}}}.{{/description}} [optional]{{#defaultValue}} if omitted the server will use the default value of {{{defaultValue}}}{{/defaultValue}}{{/optionalParams}}
257
+
_return_http_data_only (bool): response data without head status
258
+
code and headers. Default is True.
259
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
260
+
will be returned without reading/decoding response data.
261
+
Default is True.
262
+
_request_timeout (float/tuple): timeout setting for this request. If one
263
+
number provided, it will be total request timeout. It can also
264
+
be a pair (tuple) of (connection, read) timeouts.
265
+
Default is None.
266
+
_check_input_type (bool): specifies if type checking
267
+
should be done one the data sent to the server.
268
+
Default is True.
269
+
_check_return_type (bool): specifies if type checking
270
+
should be done one the data received from the server.
271
+
Default is True.
272
+
_host_index (int/None): specifies the index of the server
0 commit comments