huaweicloudsdkdwr 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.

Potentially problematic release.


This version of huaweicloudsdkdwr might be problematic. Click here for more details.

@@ -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 DwrRegion:
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 if static_fields else cls.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 DwrRegion:
30
27
  if region_id in fields:
31
28
  return fields.get(region_id)
32
29
 
33
- raise KeyError("Unexpected region_id: " + region_id)
34
-
35
-
30
+ raise KeyError("region_id '%s' is not in the following supported regions of service 'Dwr': [%s]" % (
31
+ region_id, ", ".join(sorted(fields.keys()))))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkdwr
3
- Version: 3.1.77
3
+ Version: 3.1.79
4
4
  Summary: DWR
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).
@@ -72,9 +72,9 @@ huaweicloudsdkdwr/v3/model/update_workflow_body.py,sha256=B8qE_P6wrzIFulGQfdTclb
72
72
  huaweicloudsdkdwr/v3/model/update_workflow_request.py,sha256=RMFgseKnlLPrmwz-CnyZXAStxLzQ_XRG70jAOtSQsJI,3915
73
73
  huaweicloudsdkdwr/v3/model/update_workflow_response.py,sha256=wMrUasFMvI4_qF-XvFRhwJGQWZH-VdNIEaqII6-fmbg,8061
74
74
  huaweicloudsdkdwr/v3/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
- huaweicloudsdkdwr/v3/region/dwr_region.py,sha256=AuQT7zKZqWh8tjiOAzyQajERt0gyvqK4PK2BwPvTmqM,902
76
- huaweicloudsdkdwr-3.1.77.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
77
- huaweicloudsdkdwr-3.1.77.dist-info/METADATA,sha256=a-sQf1BPFxcBd3qr1FMyb_tw1tHaQcOquhmGW4hwjyo,1134
78
- huaweicloudsdkdwr-3.1.77.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
79
- huaweicloudsdkdwr-3.1.77.dist-info/top_level.txt,sha256=xMGwAS-ksuneFkC3xra4boZqBHyZ-9GwNpVzcuCmVQM,18
80
- huaweicloudsdkdwr-3.1.77.dist-info/RECORD,,
75
+ huaweicloudsdkdwr/v3/region/dwr_region.py,sha256=dxlznL-lyfQiSC2cLEtWTVKDQdYn_sUHGnFgLnUnkdA,961
76
+ huaweicloudsdkdwr-3.1.79.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
77
+ huaweicloudsdkdwr-3.1.79.dist-info/METADATA,sha256=clCLUOBDjCO0c-ynHWv8lmIzPsxkxf7b4RdIPZOBf28,1134
78
+ huaweicloudsdkdwr-3.1.79.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
79
+ huaweicloudsdkdwr-3.1.79.dist-info/top_level.txt,sha256=xMGwAS-ksuneFkC3xra4boZqBHyZ-9GwNpVzcuCmVQM,18
80
+ huaweicloudsdkdwr-3.1.79.dist-info/RECORD,,