maxcompute-tea-openapi 1.2.0__tar.gz → 1.3.0__tar.gz
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.
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/PKG-INFO +1 -1
- maxcompute_tea_openapi-1.3.0/maxcompute_tea_openapi/__init__.py +1 -0
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi/client.py +68 -0
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi.egg-info/PKG-INFO +1 -1
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/setup.py +1 -1
- maxcompute_tea_openapi-1.2.0/maxcompute_tea_openapi/__init__.py +0 -1
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi/models.py +0 -0
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi.egg-info/SOURCES.txt +0 -0
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi.egg-info/dependency_links.txt +0 -0
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi.egg-info/requires.txt +0 -0
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi.egg-info/top_level.txt +0 -0
- {maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.3.0"
|
{maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi/client.py
RENAMED
|
@@ -438,6 +438,74 @@ class Client:
|
|
|
438
438
|
raise e
|
|
439
439
|
raise UnretryableException(_last_request, _last_exception)
|
|
440
440
|
|
|
441
|
+
def request(
|
|
442
|
+
self,
|
|
443
|
+
method: str,
|
|
444
|
+
path: str,
|
|
445
|
+
params: Dict[str, str],
|
|
446
|
+
runtime: util_models.RuntimeOptions,
|
|
447
|
+
) -> dict:
|
|
448
|
+
req = openapi_models.OpenApiRequest(
|
|
449
|
+
query=params
|
|
450
|
+
)
|
|
451
|
+
openapi_params = openapi_models.Params(
|
|
452
|
+
pathname=path,
|
|
453
|
+
method=method,
|
|
454
|
+
body_type='json'
|
|
455
|
+
)
|
|
456
|
+
return self.call_api(openapi_params, req, runtime)
|
|
457
|
+
|
|
458
|
+
async def request_async(
|
|
459
|
+
self,
|
|
460
|
+
method: str,
|
|
461
|
+
path: str,
|
|
462
|
+
params: Dict[str, str],
|
|
463
|
+
runtime: util_models.RuntimeOptions,
|
|
464
|
+
) -> dict:
|
|
465
|
+
req = openapi_models.OpenApiRequest(
|
|
466
|
+
query=params
|
|
467
|
+
)
|
|
468
|
+
openapi_params = openapi_models.Params(
|
|
469
|
+
pathname=path,
|
|
470
|
+
method=method,
|
|
471
|
+
body_type='json'
|
|
472
|
+
)
|
|
473
|
+
return await self.call_api_async(openapi_params, req, runtime)
|
|
474
|
+
|
|
475
|
+
def request_void(
|
|
476
|
+
self,
|
|
477
|
+
method: str,
|
|
478
|
+
path: str,
|
|
479
|
+
params: Dict[str, str],
|
|
480
|
+
runtime: util_models.RuntimeOptions,
|
|
481
|
+
) -> dict:
|
|
482
|
+
req = openapi_models.OpenApiRequest(
|
|
483
|
+
query=params
|
|
484
|
+
)
|
|
485
|
+
openapi_params = openapi_models.Params(
|
|
486
|
+
pathname=path,
|
|
487
|
+
method=method,
|
|
488
|
+
body_type='none'
|
|
489
|
+
)
|
|
490
|
+
return self.call_api(openapi_params, req, runtime)
|
|
491
|
+
|
|
492
|
+
async def request_void_async(
|
|
493
|
+
self,
|
|
494
|
+
method: str,
|
|
495
|
+
path: str,
|
|
496
|
+
params: Dict[str, str],
|
|
497
|
+
runtime: util_models.RuntimeOptions,
|
|
498
|
+
) -> dict:
|
|
499
|
+
req = openapi_models.OpenApiRequest(
|
|
500
|
+
query=params
|
|
501
|
+
)
|
|
502
|
+
openapi_params = openapi_models.Params(
|
|
503
|
+
pathname=path,
|
|
504
|
+
method=method,
|
|
505
|
+
body_type='none'
|
|
506
|
+
)
|
|
507
|
+
return await self.call_api_async(openapi_params, req, runtime)
|
|
508
|
+
|
|
441
509
|
def request_with_model(
|
|
442
510
|
self,
|
|
443
511
|
model: TeaModel,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.2.0"
|
{maxcompute_tea_openapi-1.2.0 → maxcompute_tea_openapi-1.3.0}/maxcompute_tea_openapi/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|