appmesh 0.3.4__py3-none-any.whl → 0.3.5__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.
- appmesh/appmesh_client.py +2 -6
- {appmesh-0.3.4.dist-info → appmesh-0.3.5.dist-info}/METADATA +1 -1
- appmesh-0.3.5.dist-info/RECORD +6 -0
- appmesh-0.3.4.dist-info/RECORD +0 -6
- {appmesh-0.3.4.dist-info → appmesh-0.3.5.dist-info}/WHEEL +0 -0
- {appmesh-0.3.4.dist-info → appmesh-0.3.5.dist-info}/top_level.txt +0 -0
appmesh/appmesh_client.py
CHANGED
@@ -27,15 +27,11 @@ _SSL_CA_PEM_FILE = "/opt/appmesh/ssl/ca.pem"
|
|
27
27
|
|
28
28
|
|
29
29
|
def _get_str_item(data: dict, key):
|
30
|
-
if
|
31
|
-
raise Exception("Invalid input for string value: %s" % key)
|
32
|
-
return data[key] if (data and key in data and data[key]) else None
|
30
|
+
return data[key] if (data and key in data and data[key] and isinstance(data[key], str)) else None
|
33
31
|
|
34
32
|
|
35
33
|
def _get_int_item(data: dict, key):
|
36
|
-
if
|
37
|
-
raise Exception("Invalid input for int value: %s" % key)
|
38
|
-
return int(data[key]) if (data and key in data and data[key]) else None
|
34
|
+
return int(data[key]) if (data and key in data and data[key] and isinstance(data[key], int)) else None
|
39
35
|
|
40
36
|
|
41
37
|
def _get_bool_item(data: dict, key):
|
@@ -0,0 +1,6 @@
|
|
1
|
+
appmesh/__init__.py,sha256=xRdXeFHEieRauuJZElbEBASgXG0ZzU1a5_0isAhM7Gw,11
|
2
|
+
appmesh/appmesh_client.py,sha256=P1qrjDQrAqfYNrM73xywOiD8JH8dxZeWEefIdSpZ32s,49828
|
3
|
+
appmesh-0.3.5.dist-info/METADATA,sha256=hhv7ry5N4MGmA5-sEhyKF2QrSV5eJswElCnujqNx75I,10620
|
4
|
+
appmesh-0.3.5.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
5
|
+
appmesh-0.3.5.dist-info/top_level.txt,sha256=-y0MNQOGJxUzLdHZ6E_Rfv5_LNCkV-GTmOBME_b6pg8,8
|
6
|
+
appmesh-0.3.5.dist-info/RECORD,,
|
appmesh-0.3.4.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
appmesh/__init__.py,sha256=xRdXeFHEieRauuJZElbEBASgXG0ZzU1a5_0isAhM7Gw,11
|
2
|
-
appmesh/appmesh_client.py,sha256=blrM-SmLea2ynjOAn-XH9glVfWHJs41kmCT_Hprz1og,49977
|
3
|
-
appmesh-0.3.4.dist-info/METADATA,sha256=mzdakB9D6kYGyZtYk5h_oQmUyy4Pq3BRi_qrcjgRRGU,10620
|
4
|
-
appmesh-0.3.4.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
5
|
-
appmesh-0.3.4.dist-info/top_level.txt,sha256=-y0MNQOGJxUzLdHZ6E_Rfv5_LNCkV-GTmOBME_b6pg8,8
|
6
|
-
appmesh-0.3.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|