huaweicloudsdkmsgsms 3.1.61__py2.py3-none-any.whl → 3.1.63__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdkmsgsms/v2/msgsms_async_client.py +8 -5
- huaweicloudsdkmsgsms/v2/msgsms_client.py +8 -5
- {huaweicloudsdkmsgsms-3.1.61.dist-info → huaweicloudsdkmsgsms-3.1.63.dist-info}/METADATA +2 -2
- {huaweicloudsdkmsgsms-3.1.61.dist-info → huaweicloudsdkmsgsms-3.1.63.dist-info}/RECORD +7 -7
- {huaweicloudsdkmsgsms-3.1.61.dist-info → huaweicloudsdkmsgsms-3.1.63.dist-info}/LICENSE +0 -0
- {huaweicloudsdkmsgsms-3.1.61.dist-info → huaweicloudsdkmsgsms-3.1.63.dist-info}/WHEEL +0 -0
- {huaweicloudsdkmsgsms-3.1.61.dist-info → huaweicloudsdkmsgsms-3.1.63.dist-info}/top_level.txt +0 -0
@@ -16,13 +16,16 @@ class MsgsmsAsyncClient(Client):
|
|
16
16
|
|
17
17
|
@classmethod
|
18
18
|
def new_builder(cls, clazz=None):
|
19
|
-
if clazz
|
20
|
-
|
19
|
+
if not clazz:
|
20
|
+
client_builder = ClientBuilder(cls)
|
21
|
+
else:
|
22
|
+
if clazz.__name__ != "MsgsmsAsyncClient":
|
23
|
+
raise TypeError("client type error, support client type is MsgsmsAsyncClient")
|
24
|
+
client_builder = ClientBuilder(clazz)
|
21
25
|
|
22
|
-
|
23
|
-
raise TypeError("client type error, support client type is MsgsmsClient")
|
26
|
+
|
24
27
|
|
25
|
-
return
|
28
|
+
return client_builder
|
26
29
|
|
27
30
|
def create_app_async(self, request):
|
28
31
|
"""创建短信应用
|
@@ -16,13 +16,16 @@ class MsgsmsClient(Client):
|
|
16
16
|
|
17
17
|
@classmethod
|
18
18
|
def new_builder(cls, clazz=None):
|
19
|
-
if clazz
|
20
|
-
|
19
|
+
if not clazz:
|
20
|
+
client_builder = ClientBuilder(cls)
|
21
|
+
else:
|
22
|
+
if clazz.__name__ != "MsgsmsClient":
|
23
|
+
raise TypeError("client type error, support client type is MsgsmsClient")
|
24
|
+
client_builder = ClientBuilder(clazz)
|
21
25
|
|
22
|
-
|
23
|
-
raise TypeError("client type error, support client type is MsgsmsClient")
|
26
|
+
|
24
27
|
|
25
|
-
return
|
28
|
+
return client_builder
|
26
29
|
|
27
30
|
def create_app(self, request):
|
28
31
|
"""创建短信应用
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkmsgsms
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.63
|
4
4
|
Summary: MSGSMS
|
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.
|
25
|
+
Requires-Dist: huaweicloudsdkcore >=3.1.63
|
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
|
huaweicloudsdkmsgsms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
huaweicloudsdkmsgsms/v2/__init__.py,sha256=_f1hEgowSZ7I4ZFZ7N_1zFYtTtB-xHBPTDS0mzLxjOE,4830
|
3
|
-
huaweicloudsdkmsgsms/v2/msgsms_async_client.py,sha256=
|
4
|
-
huaweicloudsdkmsgsms/v2/msgsms_client.py,sha256=
|
3
|
+
huaweicloudsdkmsgsms/v2/msgsms_async_client.py,sha256=G43Exf9p5lTKlrEEAw6_RpJ1h3KZGiiJCmpSzDPjqt4,43726
|
4
|
+
huaweicloudsdkmsgsms/v2/msgsms_client.py,sha256=fzGPTThLJiVQgqZ6JbOUGzNMKLBA6GBBHVZTQaNeP1w,43529
|
5
5
|
huaweicloudsdkmsgsms/v2/model/__init__.py,sha256=tnsBcZi2O16jDdN9LuZ71oNK2KldoNC97cdpzn8Wd0U,4726
|
6
6
|
huaweicloudsdkmsgsms/v2/model/api_template_variable.py,sha256=mCjofhtce_9bXsGe9G5yj7f_dTiAt8uDgenIu6I8TlU,8044
|
7
7
|
huaweicloudsdkmsgsms/v2/model/create_app_request.py,sha256=Dja_-e3TbmVJ3QF9nAqYqb-NMyLMPMP06FF6WLknYGk,3068
|
@@ -57,8 +57,8 @@ huaweicloudsdkmsgsms/v2/model/upload_signature_file_request_body.py,sha256=MWmYX
|
|
57
57
|
huaweicloudsdkmsgsms/v2/model/upload_signature_file_response.py,sha256=n-oTbNEkbBan_98ITGpOmFYA_M13Ndii154nCHBfayU,3215
|
58
58
|
huaweicloudsdkmsgsms/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
59
59
|
huaweicloudsdkmsgsms/v2/region/msgsms_region.py,sha256=LPyUMJUBqxkB8cnr-b9ic89Qg5oFtQxFl_-R8YQ-n9c,1054
|
60
|
-
huaweicloudsdkmsgsms-3.1.
|
61
|
-
huaweicloudsdkmsgsms-3.1.
|
62
|
-
huaweicloudsdkmsgsms-3.1.
|
63
|
-
huaweicloudsdkmsgsms-3.1.
|
64
|
-
huaweicloudsdkmsgsms-3.1.
|
60
|
+
huaweicloudsdkmsgsms-3.1.63.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
61
|
+
huaweicloudsdkmsgsms-3.1.63.dist-info/METADATA,sha256=YO5NMIkaRk6BGmTUvizmIKaHybXea6vBP8kpo9idTRQ,1143
|
62
|
+
huaweicloudsdkmsgsms-3.1.63.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
|
63
|
+
huaweicloudsdkmsgsms-3.1.63.dist-info/top_level.txt,sha256=I9NpgmPwn52WdP8Sh3mkwiFieEOWez7kV_FoQd_4IeE,21
|
64
|
+
huaweicloudsdkmsgsms-3.1.63.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{huaweicloudsdkmsgsms-3.1.61.dist-info → huaweicloudsdkmsgsms-3.1.63.dist-info}/top_level.txt
RENAMED
File without changes
|