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

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,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
 
@@ -22,9 +19,9 @@ class IvsRegion:
22
19
  @classmethod
23
20
  def value_of(cls, region_id, static_fields=None):
24
21
  if not region_id:
25
- raise KeyError("Unexpected empty parameter: region_id.")
22
+ raise KeyError("Unexpected empty parameter: region_id")
26
23
 
27
- fields = static_fields if static_fields else cls.static_fields
24
+ fields = static_fields or cls.static_fields
28
25
 
29
26
  region = cls._PROVIDER.get_region(region_id)
30
27
  if region:
@@ -33,6 +30,5 @@ class IvsRegion:
33
30
  if region_id in fields:
34
31
  return fields.get(region_id)
35
32
 
36
- raise KeyError("Unexpected region_id: " + region_id)
37
-
38
-
33
+ raise KeyError("region_id '%s' is not in the following supported regions of service 'Ivs': [%s]" % (
34
+ region_id, ", ".join(sorted(fields.keys()))))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkivs
3
- Version: 3.1.77
3
+ Version: 3.1.79
4
4
  Summary: IVS
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).
@@ -50,9 +50,9 @@ huaweicloudsdkivs/v2/model/standard_resp_data_by_name_and_id.py,sha256=mNR9YpNXZ
50
50
  huaweicloudsdkivs/v2/model/standard_resp_data_by_video_and_name_and_id.py,sha256=QS7ePkLd3q1rwpMo5V3pYrffRCdUX5MPfrFWHGCxiWA,8827
51
51
  huaweicloudsdkivs/v2/model/video_result.py,sha256=kFARh0VqWZpVxINkPnN1EivjRnF8JuCT2ajAuYpuxOs,4509
52
52
  huaweicloudsdkivs/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
- huaweicloudsdkivs/v2/region/ivs_region.py,sha256=oAsaKHTeBYU_Xlf-6tPJIyn6b0skGgVdA2Wd7quWQQ4,1042
54
- huaweicloudsdkivs-3.1.77.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
55
- huaweicloudsdkivs-3.1.77.dist-info/METADATA,sha256=7kzY6o3UWJwPKnhCruDttaqSducJDIvXk5YZgBXHgfs,1134
56
- huaweicloudsdkivs-3.1.77.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
57
- huaweicloudsdkivs-3.1.77.dist-info/top_level.txt,sha256=nZmDvv9JC4b7DcDEl-X1_wo5Ju_WlKj_tDyGIWUBKsQ,18
58
- huaweicloudsdkivs-3.1.77.dist-info/RECORD,,
53
+ huaweicloudsdkivs/v2/region/ivs_region.py,sha256=m9Ur2AxOloSa2Iod9iQB9PkjVCBygJBThRiCfqfWLYY,1101
54
+ huaweicloudsdkivs-3.1.79.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
55
+ huaweicloudsdkivs-3.1.79.dist-info/METADATA,sha256=fOnHnp1NVtUdI2VRgpEeHJd3v2rtX8ypKzBreGQnskk,1134
56
+ huaweicloudsdkivs-3.1.79.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
57
+ huaweicloudsdkivs-3.1.79.dist-info/top_level.txt,sha256=nZmDvv9JC4b7DcDEl-X1_wo5Ju_WlKj_tDyGIWUBKsQ,18
58
+ huaweicloudsdkivs-3.1.79.dist-info/RECORD,,