@@ -38,18 +38,18 @@ def api_tokens_create(self, data, **kwargs): # noqa: E501
38
38
39
39
You can create an API token in the [team api settings page](/#/teams). It is also possible to get or create a token using the REST api with your login credentials. # noqa: E501
40
40
This method makes a synchronous HTTP request by default. To make an
41
- asynchronous HTTP request, please pass async =True
42
- >>> thread = api.api_tokens_create(data, async =True)
41
+ asynchronous HTTP request, please pass async_req =True
42
+ >>> thread = api.api_tokens_create(data, async_req =True)
43
43
>>> result = thread.get()
44
44
45
- :param async bool
45
+ :param async_req bool
46
46
:param AuthToken data: (required)
47
47
:return: AuthToken
48
48
If the method is called asynchronously,
49
49
returns the request thread.
50
50
"""
51
51
kwargs ['_return_http_data_only' ] = True
52
- if kwargs .get ('async ' ):
52
+ if kwargs .get ('async_req ' ):
53
53
return self .api_tokens_create_with_http_info (data , ** kwargs ) # noqa: E501
54
54
else :
55
55
(data ) = self .api_tokens_create_with_http_info (data , ** kwargs ) # noqa: E501
@@ -60,19 +60,19 @@ def api_tokens_create_with_http_info(self, data, **kwargs): # noqa: E501
60
60
61
61
You can create an API token in the [team api settings page](/#/teams). It is also possible to get or create a token using the REST api with your login credentials. # noqa: E501
62
62
This method makes a synchronous HTTP request by default. To make an
63
- asynchronous HTTP request, please pass async =True
64
- >>> thread = api.api_tokens_create_with_http_info(data, async =True)
63
+ asynchronous HTTP request, please pass async_req =True
64
+ >>> thread = api.api_tokens_create_with_http_info(data, async_req =True)
65
65
>>> result = thread.get()
66
66
67
- :param async bool
67
+ :param async_req bool
68
68
:param AuthToken data: (required)
69
69
:return: AuthToken
70
70
If the method is called asynchronously,
71
71
returns the request thread.
72
72
"""
73
73
74
74
all_params = ['data' ] # noqa: E501
75
- all_params .append ('async ' )
75
+ all_params .append ('async_req ' )
76
76
all_params .append ('_return_http_data_only' )
77
77
all_params .append ('_preload_content' )
78
78
all_params .append ('_request_timeout' )
@@ -126,7 +126,7 @@ def api_tokens_create_with_http_info(self, data, **kwargs): # noqa: E501
126
126
files = local_var_files ,
127
127
response_type = 'AuthToken' , # noqa: E501
128
128
auth_settings = auth_settings ,
129
- async = params .get ('async ' ),
129
+ async_req = params .get ('async_req ' ),
130
130
_return_http_data_only = params .get ('_return_http_data_only' ),
131
131
_preload_content = params .get ('_preload_content' , True ),
132
132
_request_timeout = params .get ('_request_timeout' ),
@@ -137,18 +137,18 @@ def api_tokens_delete(self, key, **kwargs): # noqa: E501
137
137
138
138
# noqa: E501
139
139
This method makes a synchronous HTTP request by default. To make an
140
- asynchronous HTTP request, please pass async =True
141
- >>> thread = api.api_tokens_delete(key, async =True)
140
+ asynchronous HTTP request, please pass async_req =True
141
+ >>> thread = api.api_tokens_delete(key, async_req =True)
142
142
>>> result = thread.get()
143
143
144
- :param async bool
144
+ :param async_req bool
145
145
:param str key: A unique value identifying this api token. (required)
146
146
:return: None
147
147
If the method is called asynchronously,
148
148
returns the request thread.
149
149
"""
150
150
kwargs ['_return_http_data_only' ] = True
151
- if kwargs .get ('async ' ):
151
+ if kwargs .get ('async_req ' ):
152
152
return self .api_tokens_delete_with_http_info (key , ** kwargs ) # noqa: E501
153
153
else :
154
154
(data ) = self .api_tokens_delete_with_http_info (key , ** kwargs ) # noqa: E501
@@ -159,19 +159,19 @@ def api_tokens_delete_with_http_info(self, key, **kwargs): # noqa: E501
159
159
160
160
# noqa: E501
161
161
This method makes a synchronous HTTP request by default. To make an
162
- asynchronous HTTP request, please pass async =True
163
- >>> thread = api.api_tokens_delete_with_http_info(key, async =True)
162
+ asynchronous HTTP request, please pass async_req =True
163
+ >>> thread = api.api_tokens_delete_with_http_info(key, async_req =True)
164
164
>>> result = thread.get()
165
165
166
- :param async bool
166
+ :param async_req bool
167
167
:param str key: A unique value identifying this api token. (required)
168
168
:return: None
169
169
If the method is called asynchronously,
170
170
returns the request thread.
171
171
"""
172
172
173
173
all_params = ['key' ] # noqa: E501
174
- all_params .append ('async ' )
174
+ all_params .append ('async_req ' )
175
175
all_params .append ('_return_http_data_only' )
176
176
all_params .append ('_preload_content' )
177
177
all_params .append ('_request_timeout' )
@@ -225,7 +225,7 @@ def api_tokens_delete_with_http_info(self, key, **kwargs): # noqa: E501
225
225
files = local_var_files ,
226
226
response_type = None , # noqa: E501
227
227
auth_settings = auth_settings ,
228
- async = params .get ('async ' ),
228
+ async_req = params .get ('async_req ' ),
229
229
_return_http_data_only = params .get ('_return_http_data_only' ),
230
230
_preload_content = params .get ('_preload_content' , True ),
231
231
_request_timeout = params .get ('_request_timeout' ),
@@ -236,19 +236,19 @@ def api_tokens_list(self, **kwargs): # noqa: E501
236
236
237
237
# noqa: E501
238
238
This method makes a synchronous HTTP request by default. To make an
239
- asynchronous HTTP request, please pass async =True
240
- >>> thread = api.api_tokens_list(async =True)
239
+ asynchronous HTTP request, please pass async_req =True
240
+ >>> thread = api.api_tokens_list(async_req =True)
241
241
>>> result = thread.get()
242
242
243
- :param async bool
243
+ :param async_req bool
244
244
:param int page: A page number within the paginated result set.
245
245
:param int limit: Number of results to return per page.
246
246
:return: InlineResponse200
247
247
If the method is called asynchronously,
248
248
returns the request thread.
249
249
"""
250
250
kwargs ['_return_http_data_only' ] = True
251
- if kwargs .get ('async ' ):
251
+ if kwargs .get ('async_req ' ):
252
252
return self .api_tokens_list_with_http_info (** kwargs ) # noqa: E501
253
253
else :
254
254
(data ) = self .api_tokens_list_with_http_info (** kwargs ) # noqa: E501
@@ -259,11 +259,11 @@ def api_tokens_list_with_http_info(self, **kwargs): # noqa: E501
259
259
260
260
# noqa: E501
261
261
This method makes a synchronous HTTP request by default. To make an
262
- asynchronous HTTP request, please pass async =True
263
- >>> thread = api.api_tokens_list_with_http_info(async =True)
262
+ asynchronous HTTP request, please pass async_req =True
263
+ >>> thread = api.api_tokens_list_with_http_info(async_req =True)
264
264
>>> result = thread.get()
265
265
266
- :param async bool
266
+ :param async_req bool
267
267
:param int page: A page number within the paginated result set.
268
268
:param int limit: Number of results to return per page.
269
269
:return: InlineResponse200
@@ -272,7 +272,7 @@ def api_tokens_list_with_http_info(self, **kwargs): # noqa: E501
272
272
"""
273
273
274
274
all_params = ['page' , 'limit' ] # noqa: E501
275
- all_params .append ('async ' )
275
+ all_params .append ('async_req ' )
276
276
all_params .append ('_return_http_data_only' )
277
277
all_params .append ('_preload_content' )
278
278
all_params .append ('_request_timeout' )
@@ -324,7 +324,7 @@ def api_tokens_list_with_http_info(self, **kwargs): # noqa: E501
324
324
files = local_var_files ,
325
325
response_type = 'InlineResponse200' , # noqa: E501
326
326
auth_settings = auth_settings ,
327
- async = params .get ('async ' ),
327
+ async_req = params .get ('async_req ' ),
328
328
_return_http_data_only = params .get ('_return_http_data_only' ),
329
329
_preload_content = params .get ('_preload_content' , True ),
330
330
_request_timeout = params .get ('_request_timeout' ),
@@ -335,18 +335,18 @@ def api_tokens_read(self, key, **kwargs): # noqa: E501
335
335
336
336
# noqa: E501
337
337
This method makes a synchronous HTTP request by default. To make an
338
- asynchronous HTTP request, please pass async =True
339
- >>> thread = api.api_tokens_read(key, async =True)
338
+ asynchronous HTTP request, please pass async_req =True
339
+ >>> thread = api.api_tokens_read(key, async_req =True)
340
340
>>> result = thread.get()
341
341
342
- :param async bool
342
+ :param async_req bool
343
343
:param str key: A unique value identifying this api token. (required)
344
344
:return: AuthToken
345
345
If the method is called asynchronously,
346
346
returns the request thread.
347
347
"""
348
348
kwargs ['_return_http_data_only' ] = True
349
- if kwargs .get ('async ' ):
349
+ if kwargs .get ('async_req ' ):
350
350
return self .api_tokens_read_with_http_info (key , ** kwargs ) # noqa: E501
351
351
else :
352
352
(data ) = self .api_tokens_read_with_http_info (key , ** kwargs ) # noqa: E501
@@ -357,19 +357,19 @@ def api_tokens_read_with_http_info(self, key, **kwargs): # noqa: E501
357
357
358
358
# noqa: E501
359
359
This method makes a synchronous HTTP request by default. To make an
360
- asynchronous HTTP request, please pass async =True
361
- >>> thread = api.api_tokens_read_with_http_info(key, async =True)
360
+ asynchronous HTTP request, please pass async_req =True
361
+ >>> thread = api.api_tokens_read_with_http_info(key, async_req =True)
362
362
>>> result = thread.get()
363
363
364
- :param async bool
364
+ :param async_req bool
365
365
:param str key: A unique value identifying this api token. (required)
366
366
:return: AuthToken
367
367
If the method is called asynchronously,
368
368
returns the request thread.
369
369
"""
370
370
371
371
all_params = ['key' ] # noqa: E501
372
- all_params .append ('async ' )
372
+ all_params .append ('async_req ' )
373
373
all_params .append ('_return_http_data_only' )
374
374
all_params .append ('_preload_content' )
375
375
all_params .append ('_request_timeout' )
@@ -423,7 +423,7 @@ def api_tokens_read_with_http_info(self, key, **kwargs): # noqa: E501
423
423
files = local_var_files ,
424
424
response_type = 'AuthToken' , # noqa: E501
425
425
auth_settings = auth_settings ,
426
- async = params .get ('async ' ),
426
+ async_req = params .get ('async_req ' ),
427
427
_return_http_data_only = params .get ('_return_http_data_only' ),
428
428
_preload_content = params .get ('_preload_content' , True ),
429
429
_request_timeout = params .get ('_request_timeout' ),
0 commit comments