huaweicloudsdkvpcep 3.1.61__py2.py3-none-any.whl → 3.1.62__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,16 @@ class VpcepAsyncClient(Client):
16
16
 
17
17
  @classmethod
18
18
  def new_builder(cls, clazz=None):
19
- if clazz is None:
20
- return ClientBuilder(cls)
19
+ if not clazz:
20
+ client_builder = ClientBuilder(cls)
21
+ else:
22
+ if clazz.__name__ != "VpcepAsyncClient":
23
+ raise TypeError("client type error, support client type is VpcepAsyncClient")
24
+ client_builder = ClientBuilder(clazz)
21
25
 
22
- if clazz.__name__ != "VpcepClient":
23
- raise TypeError("client type error, support client type is VpcepClient")
26
+
24
27
 
25
- return ClientBuilder(clazz)
28
+ return client_builder
26
29
 
27
30
  def accept_or_reject_endpoint_async(self, request):
28
31
  """接受或拒绝终端节点的连接
@@ -16,13 +16,16 @@ class VpcepClient(Client):
16
16
 
17
17
  @classmethod
18
18
  def new_builder(cls, clazz=None):
19
- if clazz is None:
20
- return ClientBuilder(cls)
19
+ if not clazz:
20
+ client_builder = ClientBuilder(cls)
21
+ else:
22
+ if clazz.__name__ != "VpcepClient":
23
+ raise TypeError("client type error, support client type is VpcepClient")
24
+ client_builder = ClientBuilder(clazz)
21
25
 
22
- if clazz.__name__ != "VpcepClient":
23
- raise TypeError("client type error, support client type is VpcepClient")
26
+
24
27
 
25
- return ClientBuilder(clazz)
28
+ return client_builder
26
29
 
27
30
  def accept_or_reject_endpoint(self, request):
28
31
  """接受或拒绝终端节点的连接
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkvpcep
3
- Version: 3.1.61
3
+ Version: 3.1.62
4
4
  Summary: VPCEP
5
5
  Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
6
6
  Author: HuaweiCloud SDK
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
22
22
  Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Requires-Dist: huaweicloudsdkcore >=3.1.61
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.62
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -1,7 +1,7 @@
1
1
  huaweicloudsdkvpcep/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  huaweicloudsdkvpcep/v1/__init__.py,sha256=f8yDAtPURBQL0n_OIUmwLH7V62b9grfN416P-G_cdLg,10088
3
- huaweicloudsdkvpcep/v1/vpcep_async_client.py,sha256=GIPeKQLJhzXiyBeDInojjKhdb_1jvDngAzrI_1figSw,67386
4
- huaweicloudsdkvpcep/v1/vpcep_client.py,sha256=6n0LdThDLSAQKBfLErnTnWpL4ToXp2sA_IN1654qXb0,67129
3
+ huaweicloudsdkvpcep/v1/vpcep_async_client.py,sha256=Z5piBFIOIoPeJs3wBDQMZeNJTvxH3LNzsbsBHelg3a8,67477
4
+ huaweicloudsdkvpcep/v1/vpcep_client.py,sha256=1-kbfIVE_tD1ZRNDYO2XgP1GbJcARAXJeHTt20sqzeE,67210
5
5
  huaweicloudsdkvpcep/v1/model/__init__.py,sha256=HVNl3o0B3_g_VBXy-cTV0eLf0PQiPV6DEyy1mgq1mqI,9990
6
6
  huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request.py,sha256=pyWanH3An-0bU-9zAD6HMWgh3ElATxnBiB_6zQTtB8M,4387
7
7
  huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request_body.py,sha256=WOmkYWori_9dxGBdDBc2htIZR2RT3jl6x4izvgA1bMw,4341
@@ -105,8 +105,8 @@ huaweicloudsdkvpcep/v1/model/update_permission_desc_request.py,sha256=dGcpqNg7ou
105
105
  huaweicloudsdkvpcep/v1/model/version_object.py,sha256=cuNHJ6nU0qd8OTiIw6UjE-faWKFImxS-zi8PmjK0H-w,7582
106
106
  huaweicloudsdkvpcep/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
107
  huaweicloudsdkvpcep/v1/region/vpcep_region.py,sha256=4-vQheMWWKZitsZikM1WjvaD6Dyc_-2hf9u4er8NUVw,3397
108
- huaweicloudsdkvpcep-3.1.61.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
109
- huaweicloudsdkvpcep-3.1.61.dist-info/METADATA,sha256=t5-MTrJ0g3nwlyoNttIvVk-dWKzns6KpWzoAUGlWwb8,1140
110
- huaweicloudsdkvpcep-3.1.61.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
111
- huaweicloudsdkvpcep-3.1.61.dist-info/top_level.txt,sha256=JE_XgWO8d5N3LDJfZXUoH8r739Dlwm1N6WWOhnzW2p0,20
112
- huaweicloudsdkvpcep-3.1.61.dist-info/RECORD,,
108
+ huaweicloudsdkvpcep-3.1.62.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
109
+ huaweicloudsdkvpcep-3.1.62.dist-info/METADATA,sha256=frnlGsYZqnvN3eK99T2Z7LvxndQxn-rjspL9AfEbqCU,1140
110
+ huaweicloudsdkvpcep-3.1.62.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
111
+ huaweicloudsdkvpcep-3.1.62.dist-info/top_level.txt,sha256=JE_XgWO8d5N3LDJfZXUoH8r739Dlwm1N6WWOhnzW2p0,20
112
+ huaweicloudsdkvpcep-3.1.62.dist-info/RECORD,,