bdpan-cli 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. bdpan_cli/__init__.py +15 -0
  2. bdpan_cli/_vendor/__init__.py +9 -0
  3. bdpan_cli/_vendor/openapi_client/__init__.py +27 -0
  4. bdpan_cli/_vendor/openapi_client/api/__init__.py +6 -0
  5. bdpan_cli/_vendor/openapi_client/api/auth_api.py +649 -0
  6. bdpan_cli/_vendor/openapi_client/api/fileinfo_api.py +737 -0
  7. bdpan_cli/_vendor/openapi_client/api/filemanager_api.py +669 -0
  8. bdpan_cli/_vendor/openapi_client/api/fileupload_api.py +599 -0
  9. bdpan_cli/_vendor/openapi_client/api/multimediafile_api.py +391 -0
  10. bdpan_cli/_vendor/openapi_client/api/userinfo_api.py +315 -0
  11. bdpan_cli/_vendor/openapi_client/api_client.py +864 -0
  12. bdpan_cli/_vendor/openapi_client/configuration.py +454 -0
  13. bdpan_cli/_vendor/openapi_client/exceptions.py +197 -0
  14. bdpan_cli/_vendor/openapi_client/model/__init__.py +5 -0
  15. bdpan_cli/_vendor/openapi_client/model/oauth_token_authorization_code_response.py +276 -0
  16. bdpan_cli/_vendor/openapi_client/model/oauth_token_device_code_response.py +276 -0
  17. bdpan_cli/_vendor/openapi_client/model/oauth_token_device_token_response.py +276 -0
  18. bdpan_cli/_vendor/openapi_client/model/oauth_token_refresh_token_response.py +276 -0
  19. bdpan_cli/_vendor/openapi_client/model/quotaresponse.py +276 -0
  20. bdpan_cli/_vendor/openapi_client/model/uinforesponse.py +284 -0
  21. bdpan_cli/_vendor/openapi_client/model_utils.py +2039 -0
  22. bdpan_cli/_vendor/openapi_client/rest.py +385 -0
  23. bdpan_cli/_version.py +3 -0
  24. bdpan_cli/account.py +78 -0
  25. bdpan_cli/apply_scrape_rename.py +99 -0
  26. bdpan_cli/auth.py +218 -0
  27. bdpan_cli/cli.py +1428 -0
  28. bdpan_cli/config.py +26 -0
  29. bdpan_cli/dedup.py +310 -0
  30. bdpan_cli/downloader.py +178 -0
  31. bdpan_cli/file_manager.py +389 -0
  32. bdpan_cli/foldering.py +181 -0
  33. bdpan_cli/logger.py +101 -0
  34. bdpan_cli/mcp_server.py +547 -0
  35. bdpan_cli/media_info.py +251 -0
  36. bdpan_cli/ops.py +173 -0
  37. bdpan_cli/organize.py +108 -0
  38. bdpan_cli/preview_scrape.py +182 -0
  39. bdpan_cli/scraper.py +505 -0
  40. bdpan_cli/uploader.py +391 -0
  41. bdpan_cli-0.1.0.dist-info/METADATA +167 -0
  42. bdpan_cli-0.1.0.dist-info/RECORD +44 -0
  43. bdpan_cli-0.1.0.dist-info/WHEEL +4 -0
  44. bdpan_cli-0.1.0.dist-info/entry_points.txt +5 -0
@@ -0,0 +1,649 @@
1
+ """
2
+ xpan
3
+
4
+ xpanapi # noqa: E501
5
+
6
+ The version of the OpenAPI document: 0.1
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from bdpan_cli._vendor.openapi_client.api_client import ApiClient, Endpoint as _Endpoint
15
+ from bdpan_cli._vendor.openapi_client.model_utils import ( # noqa: F401
16
+ check_allowed_values,
17
+ check_validations,
18
+ date,
19
+ datetime,
20
+ file_type,
21
+ none_type,
22
+ validate_and_convert_types
23
+ )
24
+ from bdpan_cli._vendor.openapi_client.model.oauth_token_authorization_code_response import OauthTokenAuthorizationCodeResponse
25
+ from bdpan_cli._vendor.openapi_client.model.oauth_token_device_code_response import OauthTokenDeviceCodeResponse
26
+ from bdpan_cli._vendor.openapi_client.model.oauth_token_device_token_response import OauthTokenDeviceTokenResponse
27
+ from bdpan_cli._vendor.openapi_client.model.oauth_token_refresh_token_response import OauthTokenRefreshTokenResponse
28
+
29
+
30
+ class AuthApi(object):
31
+ """NOTE: This class is auto generated by OpenAPI Generator
32
+ Ref: https://openapi-generator.tech
33
+
34
+ Do not edit the class manually.
35
+ """
36
+
37
+ def __init__(self, api_client=None):
38
+ if api_client is None:
39
+ api_client = ApiClient()
40
+ self.api_client = api_client
41
+ self.oauth_token_code2token_endpoint = _Endpoint(
42
+ settings={
43
+ 'response_type': (OauthTokenAuthorizationCodeResponse,),
44
+ 'auth': [],
45
+ 'endpoint_path': '/oauth/2.0/token?grant_type=authorization_code&openapi=xpansdk',
46
+ 'operation_id': 'oauth_token_code2token',
47
+ 'http_method': 'GET',
48
+ 'servers': [
49
+ {
50
+ 'url': "https://openapi.baidu.com",
51
+ 'description': "No description provided",
52
+ },
53
+ ]
54
+ },
55
+ params_map={
56
+ 'all': [
57
+ 'code',
58
+ 'client_id',
59
+ 'client_secret',
60
+ 'redirect_uri',
61
+ ],
62
+ 'required': [
63
+ 'code',
64
+ 'client_id',
65
+ 'client_secret',
66
+ 'redirect_uri',
67
+ ],
68
+ 'nullable': [
69
+ ],
70
+ 'enum': [
71
+ ],
72
+ 'validation': [
73
+ ]
74
+ },
75
+ root_map={
76
+ 'validations': {
77
+ },
78
+ 'allowed_values': {
79
+ },
80
+ 'openapi_types': {
81
+ 'code':
82
+ (str,),
83
+ 'client_id':
84
+ (str,),
85
+ 'client_secret':
86
+ (str,),
87
+ 'redirect_uri':
88
+ (str,),
89
+ },
90
+ 'attribute_map': {
91
+ 'code': 'code',
92
+ 'client_id': 'client_id',
93
+ 'client_secret': 'client_secret',
94
+ 'redirect_uri': 'redirect_uri',
95
+ },
96
+ 'location_map': {
97
+ 'code': 'query',
98
+ 'client_id': 'query',
99
+ 'client_secret': 'query',
100
+ 'redirect_uri': 'query',
101
+ },
102
+ 'collection_format_map': {
103
+ }
104
+ },
105
+ headers_map={
106
+ 'accept': [
107
+ 'application/json; charset=UTF-8'
108
+ ],
109
+ 'content_type': [],
110
+ },
111
+ api_client=api_client
112
+ )
113
+ self.oauth_token_device_code_endpoint = _Endpoint(
114
+ settings={
115
+ 'response_type': (OauthTokenDeviceCodeResponse,),
116
+ 'auth': [],
117
+ 'endpoint_path': '/oauth/2.0/device/code?response_type=device_code&openapi=xpansdk',
118
+ 'operation_id': 'oauth_token_device_code',
119
+ 'http_method': 'GET',
120
+ 'servers': [
121
+ {
122
+ 'url': "https://openapi.baidu.com",
123
+ 'description': "No description provided",
124
+ },
125
+ ]
126
+ },
127
+ params_map={
128
+ 'all': [
129
+ 'client_id',
130
+ 'scope',
131
+ ],
132
+ 'required': [
133
+ 'client_id',
134
+ 'scope',
135
+ ],
136
+ 'nullable': [
137
+ ],
138
+ 'enum': [
139
+ ],
140
+ 'validation': [
141
+ ]
142
+ },
143
+ root_map={
144
+ 'validations': {
145
+ },
146
+ 'allowed_values': {
147
+ },
148
+ 'openapi_types': {
149
+ 'client_id':
150
+ (str,),
151
+ 'scope':
152
+ (str,),
153
+ },
154
+ 'attribute_map': {
155
+ 'client_id': 'client_id',
156
+ 'scope': 'scope',
157
+ },
158
+ 'location_map': {
159
+ 'client_id': 'query',
160
+ 'scope': 'query',
161
+ },
162
+ 'collection_format_map': {
163
+ }
164
+ },
165
+ headers_map={
166
+ 'accept': [
167
+ 'application/json; charset=UTF-8'
168
+ ],
169
+ 'content_type': [],
170
+ },
171
+ api_client=api_client
172
+ )
173
+ self.oauth_token_device_token_endpoint = _Endpoint(
174
+ settings={
175
+ 'response_type': (OauthTokenDeviceTokenResponse,),
176
+ 'auth': [],
177
+ 'endpoint_path': '/oauth/2.0/token?grant_type=device_token&openapi=xpansdk',
178
+ 'operation_id': 'oauth_token_device_token',
179
+ 'http_method': 'GET',
180
+ 'servers': [
181
+ {
182
+ 'url': "https://openapi.baidu.com",
183
+ 'description': "No description provided",
184
+ },
185
+ ]
186
+ },
187
+ params_map={
188
+ 'all': [
189
+ 'code',
190
+ 'client_id',
191
+ 'client_secret',
192
+ ],
193
+ 'required': [
194
+ 'code',
195
+ 'client_id',
196
+ 'client_secret',
197
+ ],
198
+ 'nullable': [
199
+ ],
200
+ 'enum': [
201
+ ],
202
+ 'validation': [
203
+ ]
204
+ },
205
+ root_map={
206
+ 'validations': {
207
+ },
208
+ 'allowed_values': {
209
+ },
210
+ 'openapi_types': {
211
+ 'code':
212
+ (str,),
213
+ 'client_id':
214
+ (str,),
215
+ 'client_secret':
216
+ (str,),
217
+ },
218
+ 'attribute_map': {
219
+ 'code': 'code',
220
+ 'client_id': 'client_id',
221
+ 'client_secret': 'client_secret',
222
+ },
223
+ 'location_map': {
224
+ 'code': 'query',
225
+ 'client_id': 'query',
226
+ 'client_secret': 'query',
227
+ },
228
+ 'collection_format_map': {
229
+ }
230
+ },
231
+ headers_map={
232
+ 'accept': [
233
+ 'application/json; charset=UTF-8'
234
+ ],
235
+ 'content_type': [],
236
+ },
237
+ api_client=api_client
238
+ )
239
+ self.oauth_token_refresh_token_endpoint = _Endpoint(
240
+ settings={
241
+ 'response_type': (OauthTokenRefreshTokenResponse,),
242
+ 'auth': [],
243
+ 'endpoint_path': '/oauth/2.0/token?grant_type=refresh_token&openapi=xpansdk',
244
+ 'operation_id': 'oauth_token_refresh_token',
245
+ 'http_method': 'GET',
246
+ 'servers': [
247
+ {
248
+ 'url': "https://openapi.baidu.com",
249
+ 'description': "No description provided",
250
+ },
251
+ ]
252
+ },
253
+ params_map={
254
+ 'all': [
255
+ 'refresh_token',
256
+ 'client_id',
257
+ 'client_secret',
258
+ ],
259
+ 'required': [
260
+ 'refresh_token',
261
+ 'client_id',
262
+ 'client_secret',
263
+ ],
264
+ 'nullable': [
265
+ ],
266
+ 'enum': [
267
+ ],
268
+ 'validation': [
269
+ ]
270
+ },
271
+ root_map={
272
+ 'validations': {
273
+ },
274
+ 'allowed_values': {
275
+ },
276
+ 'openapi_types': {
277
+ 'refresh_token':
278
+ (str,),
279
+ 'client_id':
280
+ (str,),
281
+ 'client_secret':
282
+ (str,),
283
+ },
284
+ 'attribute_map': {
285
+ 'refresh_token': 'refresh_token',
286
+ 'client_id': 'client_id',
287
+ 'client_secret': 'client_secret',
288
+ },
289
+ 'location_map': {
290
+ 'refresh_token': 'query',
291
+ 'client_id': 'query',
292
+ 'client_secret': 'query',
293
+ },
294
+ 'collection_format_map': {
295
+ }
296
+ },
297
+ headers_map={
298
+ 'accept': [
299
+ 'application/json; charset=UTF-8'
300
+ ],
301
+ 'content_type': [],
302
+ },
303
+ api_client=api_client
304
+ )
305
+
306
+ def oauth_token_code2token(
307
+ self,
308
+ code,
309
+ client_id,
310
+ client_secret,
311
+ redirect_uri,
312
+ **kwargs
313
+ ):
314
+ """oauth_token_code2token # noqa: E501
315
+
316
+ get accesstoken by authorization code # noqa: E501
317
+ This method makes a synchronous HTTP request by default. To make an
318
+ asynchronous HTTP request, please pass async_req=True
319
+
320
+ >>> thread = api.oauth_token_code2token(code, client_id, client_secret, redirect_uri, async_req=True)
321
+ >>> result = thread.get()
322
+
323
+ Args:
324
+ code (str):
325
+ client_id (str):
326
+ client_secret (str):
327
+ redirect_uri (str):
328
+
329
+ Keyword Args:
330
+ _return_http_data_only (bool): response data without head status
331
+ code and headers. Default is True.
332
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
333
+ will be returned without reading/decoding response data.
334
+ Default is True.
335
+ _request_timeout (int/float/tuple): timeout setting for this request. If
336
+ one number provided, it will be total request timeout. It can also
337
+ be a pair (tuple) of (connection, read) timeouts.
338
+ Default is None.
339
+ _check_input_type (bool): specifies if type checking
340
+ should be done one the data sent to the server.
341
+ Default is True.
342
+ _check_return_type (bool): specifies if type checking
343
+ should be done one the data received from the server.
344
+ Default is True.
345
+ _spec_property_naming (bool): True if the variable names in the input data
346
+ are serialized names, as specified in the OpenAPI document.
347
+ False if the variable names in the input data
348
+ are pythonic names, e.g. snake case (default)
349
+ _content_type (str/None): force body content-type.
350
+ Default is None and content-type will be predicted by allowed
351
+ content-types and body.
352
+ _host_index (int/None): specifies the index of the server
353
+ that we want to use.
354
+ Default is read from the configuration.
355
+ async_req (bool): execute request asynchronously
356
+
357
+ Returns:
358
+ OauthTokenAuthorizationCodeResponse
359
+ If the method is called asynchronously, returns the request
360
+ thread.
361
+ """
362
+ kwargs['async_req'] = kwargs.get(
363
+ 'async_req', False
364
+ )
365
+ kwargs['_return_http_data_only'] = kwargs.get(
366
+ '_return_http_data_only', True
367
+ )
368
+ kwargs['_preload_content'] = kwargs.get(
369
+ '_preload_content', True
370
+ )
371
+ kwargs['_request_timeout'] = kwargs.get(
372
+ '_request_timeout', None
373
+ )
374
+ kwargs['_check_input_type'] = kwargs.get(
375
+ '_check_input_type', True
376
+ )
377
+ kwargs['_check_return_type'] = kwargs.get(
378
+ '_check_return_type', True
379
+ )
380
+ kwargs['_spec_property_naming'] = kwargs.get(
381
+ '_spec_property_naming', False
382
+ )
383
+ kwargs['_content_type'] = kwargs.get(
384
+ '_content_type')
385
+ kwargs['_host_index'] = kwargs.get('_host_index')
386
+ kwargs['code'] = \
387
+ code
388
+ kwargs['client_id'] = \
389
+ client_id
390
+ kwargs['client_secret'] = \
391
+ client_secret
392
+ kwargs['redirect_uri'] = \
393
+ redirect_uri
394
+ return self.oauth_token_code2token_endpoint.call_with_http_info(**kwargs)
395
+
396
+ def oauth_token_device_code(
397
+ self,
398
+ client_id,
399
+ scope,
400
+ **kwargs
401
+ ):
402
+ """oauth_token_device_code # noqa: E501
403
+
404
+ get device code and user code # noqa: E501
405
+ This method makes a synchronous HTTP request by default. To make an
406
+ asynchronous HTTP request, please pass async_req=True
407
+
408
+ >>> thread = api.oauth_token_device_code(client_id, scope, async_req=True)
409
+ >>> result = thread.get()
410
+
411
+ Args:
412
+ client_id (str):
413
+ scope (str):
414
+
415
+ Keyword Args:
416
+ _return_http_data_only (bool): response data without head status
417
+ code and headers. Default is True.
418
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
419
+ will be returned without reading/decoding response data.
420
+ Default is True.
421
+ _request_timeout (int/float/tuple): timeout setting for this request. If
422
+ one number provided, it will be total request timeout. It can also
423
+ be a pair (tuple) of (connection, read) timeouts.
424
+ Default is None.
425
+ _check_input_type (bool): specifies if type checking
426
+ should be done one the data sent to the server.
427
+ Default is True.
428
+ _check_return_type (bool): specifies if type checking
429
+ should be done one the data received from the server.
430
+ Default is True.
431
+ _spec_property_naming (bool): True if the variable names in the input data
432
+ are serialized names, as specified in the OpenAPI document.
433
+ False if the variable names in the input data
434
+ are pythonic names, e.g. snake case (default)
435
+ _content_type (str/None): force body content-type.
436
+ Default is None and content-type will be predicted by allowed
437
+ content-types and body.
438
+ _host_index (int/None): specifies the index of the server
439
+ that we want to use.
440
+ Default is read from the configuration.
441
+ async_req (bool): execute request asynchronously
442
+
443
+ Returns:
444
+ OauthTokenDeviceCodeResponse
445
+ If the method is called asynchronously, returns the request
446
+ thread.
447
+ """
448
+ kwargs['async_req'] = kwargs.get(
449
+ 'async_req', False
450
+ )
451
+ kwargs['_return_http_data_only'] = kwargs.get(
452
+ '_return_http_data_only', True
453
+ )
454
+ kwargs['_preload_content'] = kwargs.get(
455
+ '_preload_content', True
456
+ )
457
+ kwargs['_request_timeout'] = kwargs.get(
458
+ '_request_timeout', None
459
+ )
460
+ kwargs['_check_input_type'] = kwargs.get(
461
+ '_check_input_type', True
462
+ )
463
+ kwargs['_check_return_type'] = kwargs.get(
464
+ '_check_return_type', True
465
+ )
466
+ kwargs['_spec_property_naming'] = kwargs.get(
467
+ '_spec_property_naming', False
468
+ )
469
+ kwargs['_content_type'] = kwargs.get(
470
+ '_content_type')
471
+ kwargs['_host_index'] = kwargs.get('_host_index')
472
+ kwargs['client_id'] = \
473
+ client_id
474
+ kwargs['scope'] = \
475
+ scope
476
+ return self.oauth_token_device_code_endpoint.call_with_http_info(**kwargs)
477
+
478
+ def oauth_token_device_token(
479
+ self,
480
+ code,
481
+ client_id,
482
+ client_secret,
483
+ **kwargs
484
+ ):
485
+ """oauth_token_device_token # noqa: E501
486
+
487
+ get access_token # noqa: E501
488
+ This method makes a synchronous HTTP request by default. To make an
489
+ asynchronous HTTP request, please pass async_req=True
490
+
491
+ >>> thread = api.oauth_token_device_token(code, client_id, client_secret, async_req=True)
492
+ >>> result = thread.get()
493
+
494
+ Args:
495
+ code (str):
496
+ client_id (str):
497
+ client_secret (str):
498
+
499
+ Keyword Args:
500
+ _return_http_data_only (bool): response data without head status
501
+ code and headers. Default is True.
502
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
503
+ will be returned without reading/decoding response data.
504
+ Default is True.
505
+ _request_timeout (int/float/tuple): timeout setting for this request. If
506
+ one number provided, it will be total request timeout. It can also
507
+ be a pair (tuple) of (connection, read) timeouts.
508
+ Default is None.
509
+ _check_input_type (bool): specifies if type checking
510
+ should be done one the data sent to the server.
511
+ Default is True.
512
+ _check_return_type (bool): specifies if type checking
513
+ should be done one the data received from the server.
514
+ Default is True.
515
+ _spec_property_naming (bool): True if the variable names in the input data
516
+ are serialized names, as specified in the OpenAPI document.
517
+ False if the variable names in the input data
518
+ are pythonic names, e.g. snake case (default)
519
+ _content_type (str/None): force body content-type.
520
+ Default is None and content-type will be predicted by allowed
521
+ content-types and body.
522
+ _host_index (int/None): specifies the index of the server
523
+ that we want to use.
524
+ Default is read from the configuration.
525
+ async_req (bool): execute request asynchronously
526
+
527
+ Returns:
528
+ OauthTokenDeviceTokenResponse
529
+ If the method is called asynchronously, returns the request
530
+ thread.
531
+ """
532
+ kwargs['async_req'] = kwargs.get(
533
+ 'async_req', False
534
+ )
535
+ kwargs['_return_http_data_only'] = kwargs.get(
536
+ '_return_http_data_only', True
537
+ )
538
+ kwargs['_preload_content'] = kwargs.get(
539
+ '_preload_content', True
540
+ )
541
+ kwargs['_request_timeout'] = kwargs.get(
542
+ '_request_timeout', None
543
+ )
544
+ kwargs['_check_input_type'] = kwargs.get(
545
+ '_check_input_type', True
546
+ )
547
+ kwargs['_check_return_type'] = kwargs.get(
548
+ '_check_return_type', True
549
+ )
550
+ kwargs['_spec_property_naming'] = kwargs.get(
551
+ '_spec_property_naming', False
552
+ )
553
+ kwargs['_content_type'] = kwargs.get(
554
+ '_content_type')
555
+ kwargs['_host_index'] = kwargs.get('_host_index')
556
+ kwargs['code'] = \
557
+ code
558
+ kwargs['client_id'] = \
559
+ client_id
560
+ kwargs['client_secret'] = \
561
+ client_secret
562
+ return self.oauth_token_device_token_endpoint.call_with_http_info(**kwargs)
563
+
564
+ def oauth_token_refresh_token(
565
+ self,
566
+ refresh_token,
567
+ client_id,
568
+ client_secret,
569
+ **kwargs
570
+ ):
571
+ """oauth_token_refresh_token # noqa: E501
572
+
573
+ authorization code # noqa: E501
574
+ This method makes a synchronous HTTP request by default. To make an
575
+ asynchronous HTTP request, please pass async_req=True
576
+
577
+ >>> thread = api.oauth_token_refresh_token(refresh_token, client_id, client_secret, async_req=True)
578
+ >>> result = thread.get()
579
+
580
+ Args:
581
+ refresh_token (str):
582
+ client_id (str):
583
+ client_secret (str):
584
+
585
+ Keyword Args:
586
+ _return_http_data_only (bool): response data without head status
587
+ code and headers. Default is True.
588
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
589
+ will be returned without reading/decoding response data.
590
+ Default is True.
591
+ _request_timeout (int/float/tuple): timeout setting for this request. If
592
+ one number provided, it will be total request timeout. It can also
593
+ be a pair (tuple) of (connection, read) timeouts.
594
+ Default is None.
595
+ _check_input_type (bool): specifies if type checking
596
+ should be done one the data sent to the server.
597
+ Default is True.
598
+ _check_return_type (bool): specifies if type checking
599
+ should be done one the data received from the server.
600
+ Default is True.
601
+ _spec_property_naming (bool): True if the variable names in the input data
602
+ are serialized names, as specified in the OpenAPI document.
603
+ False if the variable names in the input data
604
+ are pythonic names, e.g. snake case (default)
605
+ _content_type (str/None): force body content-type.
606
+ Default is None and content-type will be predicted by allowed
607
+ content-types and body.
608
+ _host_index (int/None): specifies the index of the server
609
+ that we want to use.
610
+ Default is read from the configuration.
611
+ async_req (bool): execute request asynchronously
612
+
613
+ Returns:
614
+ OauthTokenRefreshTokenResponse
615
+ If the method is called asynchronously, returns the request
616
+ thread.
617
+ """
618
+ kwargs['async_req'] = kwargs.get(
619
+ 'async_req', False
620
+ )
621
+ kwargs['_return_http_data_only'] = kwargs.get(
622
+ '_return_http_data_only', True
623
+ )
624
+ kwargs['_preload_content'] = kwargs.get(
625
+ '_preload_content', True
626
+ )
627
+ kwargs['_request_timeout'] = kwargs.get(
628
+ '_request_timeout', None
629
+ )
630
+ kwargs['_check_input_type'] = kwargs.get(
631
+ '_check_input_type', True
632
+ )
633
+ kwargs['_check_return_type'] = kwargs.get(
634
+ '_check_return_type', True
635
+ )
636
+ kwargs['_spec_property_naming'] = kwargs.get(
637
+ '_spec_property_naming', False
638
+ )
639
+ kwargs['_content_type'] = kwargs.get(
640
+ '_content_type')
641
+ kwargs['_host_index'] = kwargs.get('_host_index')
642
+ kwargs['refresh_token'] = \
643
+ refresh_token
644
+ kwargs['client_id'] = \
645
+ client_id
646
+ kwargs['client_secret'] = \
647
+ client_secret
648
+ return self.oauth_token_refresh_token_endpoint.call_with_http_info(**kwargs)
649
+