huaweicloudsdktics 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 huaweicloudsdktics 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
 
@@ -22,9 +19,9 @@ class TicsRegion:
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 TicsRegion:
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 'Tics': [%s]" % (
34
+ region_id, ", ".join(sorted(fields.keys()))))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdktics
3
- Version: 3.1.77
3
+ Version: 3.1.79
4
4
  Summary: TICS
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).
@@ -70,9 +70,9 @@ huaweicloudsdktics/v1/model/tics_trust_info_vo.py,sha256=kKLIWOk0MDXmlKoeVrhHN3k
70
70
  huaweicloudsdktics/v1/model/update_league_request.py,sha256=nArINUFHSEJCxE95R9YXiUsZ8fgfAQGTNA_EL-gIWKw,3940
71
71
  huaweicloudsdktics/v1/model/update_league_response.py,sha256=0C9v3F6Q9bPXbKcDUbsKH2fTF8VElRCzhSOp6X9OaX8,3046
72
72
  huaweicloudsdktics/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
- huaweicloudsdktics/v1/region/tics_region.py,sha256=ZVOiSJtK8AEmr2qXXCOaJXglvpc0eIUDtZLekIsyKBU,1046
74
- huaweicloudsdktics-3.1.77.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
75
- huaweicloudsdktics-3.1.77.dist-info/METADATA,sha256=bLTwNyHsxX1pGM_i0IER1qzGIJxIYuacdDNHF1wSvi0,1137
76
- huaweicloudsdktics-3.1.77.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
77
- huaweicloudsdktics-3.1.77.dist-info/top_level.txt,sha256=2_EfOXJk4JO5qRRGqOVetrjuk0NaxsNr7ksWN1hJl6U,19
78
- huaweicloudsdktics-3.1.77.dist-info/RECORD,,
73
+ huaweicloudsdktics/v1/region/tics_region.py,sha256=HZahcmDP7w0lJOzjnwmq6dSK_iX2atf8xvnKRzdPx_0,1106
74
+ huaweicloudsdktics-3.1.79.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
75
+ huaweicloudsdktics-3.1.79.dist-info/METADATA,sha256=9CqLXyrVbqXk9_qJulZnj4d6zVzRnkngph1Llea_Dqw,1137
76
+ huaweicloudsdktics-3.1.79.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
77
+ huaweicloudsdktics-3.1.79.dist-info/top_level.txt,sha256=2_EfOXJk4JO5qRRGqOVetrjuk0NaxsNr7ksWN1hJl6U,19
78
+ huaweicloudsdktics-3.1.79.dist-info/RECORD,,