huaweicloudsdkvpcep 3.1.77__py2.py3-none-any.whl → 3.1.79__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
 
@@ -76,9 +73,9 @@ class VpcepRegion:
76
73
  @classmethod
77
74
  def value_of(cls, region_id, static_fields=None):
78
75
  if not region_id:
79
- raise KeyError("Unexpected empty parameter: region_id.")
76
+ raise KeyError("Unexpected empty parameter: region_id")
80
77
 
81
- fields = static_fields if static_fields else cls.static_fields
78
+ fields = static_fields or cls.static_fields
82
79
 
83
80
  region = cls._PROVIDER.get_region(region_id)
84
81
  if region:
@@ -87,6 +84,5 @@ class VpcepRegion:
87
84
  if region_id in fields:
88
85
  return fields.get(region_id)
89
86
 
90
- raise KeyError("Unexpected region_id: " + region_id)
91
-
92
-
87
+ raise KeyError("region_id '%s' is not in the following supported regions of service 'Vpcep': [%s]" % (
88
+ region_id, ", ".join(sorted(fields.keys()))))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkvpcep
3
- Version: 3.1.77
3
+ Version: 3.1.79
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.77
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.79
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -104,9 +104,9 @@ huaweicloudsdkvpcep/v1/model/update_ep_connections.py,sha256=3N9_HEzh6TTVmG-7wuN
104
104
  huaweicloudsdkvpcep/v1/model/update_permission_desc_request.py,sha256=dGcpqNg7ouIiLUJSnrorFwqIUewP3NGAP7oXY5lqB-k,3257
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
- huaweicloudsdkvpcep/v1/region/vpcep_region.py,sha256=1ElV0B3ckD4IlJ51F2qLbTXGknPGLyYukS8XBmO8_yE,3705
108
- huaweicloudsdkvpcep-3.1.77.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
109
- huaweicloudsdkvpcep-3.1.77.dist-info/METADATA,sha256=S86WmDdcrm8p4Teqx0uT5-YAQpIlMeyccNHMi6rIFV8,1140
110
- huaweicloudsdkvpcep-3.1.77.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
111
- huaweicloudsdkvpcep-3.1.77.dist-info/top_level.txt,sha256=JE_XgWO8d5N3LDJfZXUoH8r739Dlwm1N6WWOhnzW2p0,20
112
- huaweicloudsdkvpcep-3.1.77.dist-info/RECORD,,
107
+ huaweicloudsdkvpcep/v1/region/vpcep_region.py,sha256=ozbk-UngrgEJ2Fw1yF4Ee_SxrCQ_ACUsnutcMF_3Gs4,3766
108
+ huaweicloudsdkvpcep-3.1.79.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
109
+ huaweicloudsdkvpcep-3.1.79.dist-info/METADATA,sha256=L7tgSW1KqIjKW92POmS_oTQ7p7VPwjuXwZ5_ueB9AhE,1140
110
+ huaweicloudsdkvpcep-3.1.79.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
111
+ huaweicloudsdkvpcep-3.1.79.dist-info/top_level.txt,sha256=JE_XgWO8d5N3LDJfZXUoH8r739Dlwm1N6WWOhnzW2p0,20
112
+ huaweicloudsdkvpcep-3.1.79.dist-info/RECORD,,