maxcompute-tea-openapi 1.2.0__tar.gz → 1.3.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maxcompute_tea_openapi
3
- Version: 1.2.0
3
+ Version: 1.3.1
4
4
  Summary: Alibaba Cloud MaxCompute openapi SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/aliyun-odps-openapi-sdk
6
6
  Author: Alibaba Cloud MaxCompute Team
@@ -0,0 +1 @@
1
+ __version__ = "1.3.1"
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maxcompute_tea_openapi
3
- Version: 1.2.0
3
+ Version: 1.3.1
4
4
  Summary: Alibaba Cloud MaxCompute openapi SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/aliyun-odps-openapi-sdk
6
6
  Author: Alibaba Cloud MaxCompute Team
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for maxcompute_tea_openapi.
26
26
 
27
- Created on 26/05/2026
27
+ Created on 01/06/2026
28
28
 
29
29
  @author: Alibaba Cloud MaxCompute Team
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = "1.2.0"