huaweicloudsdkmssi 3.1.76__py2.py3-none-any.whl → 3.1.78__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdkmssi/v1/region/mssi_region.py +4 -8
- {huaweicloudsdkmssi-3.1.76.dist-info → huaweicloudsdkmssi-3.1.78.dist-info}/METADATA +2 -2
- {huaweicloudsdkmssi-3.1.76.dist-info → huaweicloudsdkmssi-3.1.78.dist-info}/RECORD +6 -6
- {huaweicloudsdkmssi-3.1.76.dist-info → huaweicloudsdkmssi-3.1.78.dist-info}/LICENSE +0 -0
- {huaweicloudsdkmssi-3.1.76.dist-info → huaweicloudsdkmssi-3.1.78.dist-info}/WHEEL +0 -0
- {huaweicloudsdkmssi-3.1.76.dist-info → huaweicloudsdkmssi-3.1.78.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import types
|
4
|
-
import six
|
5
|
-
|
6
3
|
from huaweicloudsdkcore.region.region import Region
|
7
4
|
from huaweicloudsdkcore.region.provider import RegionProviderChain
|
8
5
|
|
@@ -19,9 +16,9 @@ class MssiRegion:
|
|
19
16
|
@classmethod
|
20
17
|
def value_of(cls, region_id, static_fields=None):
|
21
18
|
if not region_id:
|
22
|
-
raise KeyError("Unexpected empty parameter: region_id
|
19
|
+
raise KeyError("Unexpected empty parameter: region_id")
|
23
20
|
|
24
|
-
fields = static_fields
|
21
|
+
fields = static_fields or cls.static_fields
|
25
22
|
|
26
23
|
region = cls._PROVIDER.get_region(region_id)
|
27
24
|
if region:
|
@@ -30,6 +27,5 @@ class MssiRegion:
|
|
30
27
|
if region_id in fields:
|
31
28
|
return fields.get(region_id)
|
32
29
|
|
33
|
-
raise KeyError("
|
34
|
-
|
35
|
-
|
30
|
+
raise KeyError("region_id '%s' is not in the following supported regions of service 'Mssi': [%s]" % (
|
31
|
+
region_id, ", ".join(sorted(fields.keys()))))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkmssi
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.78
|
4
4
|
Summary: MSSI
|
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.78
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
@@ -49,9 +49,9 @@ huaweicloudsdkmssi/v1/model/update_connection_info_response.py,sha256=xrfbBQyr4D
|
|
49
49
|
huaweicloudsdkmssi/v1/model/update_flow_request.py,sha256=ia390Qvu1SyjkuC--i4o1UNsbYtYIcwCzDOKUIvyiN0,3731
|
50
50
|
huaweicloudsdkmssi/v1/model/update_flow_response.py,sha256=8bveG7bYLHmFQJ68NE0JtK9hPGohbe99-lZkKyiq5_I,5457
|
51
51
|
huaweicloudsdkmssi/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
52
|
-
huaweicloudsdkmssi/v1/region/mssi_region.py,sha256=
|
53
|
-
huaweicloudsdkmssi-3.1.
|
54
|
-
huaweicloudsdkmssi-3.1.
|
55
|
-
huaweicloudsdkmssi-3.1.
|
56
|
-
huaweicloudsdkmssi-3.1.
|
57
|
-
huaweicloudsdkmssi-3.1.
|
52
|
+
huaweicloudsdkmssi/v1/region/mssi_region.py,sha256=yF4YQ6lhMa5latmcAxsD2rHbaZYGO-0VljZ7F9FZVJE,965
|
53
|
+
huaweicloudsdkmssi-3.1.78.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
54
|
+
huaweicloudsdkmssi-3.1.78.dist-info/METADATA,sha256=Nl243UDkLRRzfXdy8L7yWXYZiptEwcnfvh7DiLpMoZ8,1137
|
55
|
+
huaweicloudsdkmssi-3.1.78.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
|
56
|
+
huaweicloudsdkmssi-3.1.78.dist-info/top_level.txt,sha256=DqLrADNLaXX04cGbJS0DpNYvEA5Ib_BU9N6thZBQtHM,19
|
57
|
+
huaweicloudsdkmssi-3.1.78.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|