python-sdk-remote 0.0.141__py3-none-any.whl → 0.0.142__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.
- python_sdk_remote/is_test_data.py +4 -0
- python_sdk_remote/our_object.py +5 -2
- {python_sdk_remote-0.0.141.dist-info → python_sdk_remote-0.0.142.dist-info}/METADATA +1 -1
- {python_sdk_remote-0.0.141.dist-info → python_sdk_remote-0.0.142.dist-info}/RECORD +6 -5
- {python_sdk_remote-0.0.141.dist-info → python_sdk_remote-0.0.142.dist-info}/WHEEL +0 -0
- {python_sdk_remote-0.0.141.dist-info → python_sdk_remote-0.0.142.dist-info}/top_level.txt +0 -0
python_sdk_remote/our_object.py
CHANGED
|
@@ -77,7 +77,8 @@ class OurObject(ABC):
|
|
|
77
77
|
|
|
78
78
|
def to_json(self) -> str:
|
|
79
79
|
"""Returns a json string representation of this object"""
|
|
80
|
-
|
|
80
|
+
to_json_result = json.dumps(self.__dict__)
|
|
81
|
+
return to_json_result
|
|
81
82
|
|
|
82
83
|
def from_json(self, json_string: str) -> 'OurObject':
|
|
83
84
|
"""Returns an instance of the class from a json string"""
|
|
@@ -103,7 +104,9 @@ class OurObject(ABC):
|
|
|
103
104
|
return self.entity_name + ": " + str(self.__dict__)
|
|
104
105
|
|
|
105
106
|
def __repr__(self):
|
|
106
|
-
|
|
107
|
+
# TODO make sure both of them is not None
|
|
108
|
+
repr_result = self.entity_name + ": " + str(self.__dict__)
|
|
109
|
+
return repr_result
|
|
107
110
|
|
|
108
111
|
def to_dict(self):
|
|
109
112
|
return self.__dict__
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
python_sdk_remote/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
python_sdk_remote/constants.py,sha256=0bg3t_4wzZLWFapseENer7qSx3NvniEF5n0H8AZ2G38,751
|
|
3
3
|
python_sdk_remote/http_response.py,sha256=8VQXIkt5jpoIKNsFXPONiaxdiXmTDU4iEDzmu1fgvTM,6073
|
|
4
|
+
python_sdk_remote/is_test_data.py,sha256=zbUz-Juj7vOPG9TtIttMIBWFxbsOs4-TuR1RYfGNkp4,92
|
|
4
5
|
python_sdk_remote/item.py,sha256=6DQs1nBKbEmnHjE50vZtkMr14ECS_9b8cvE7ItPAbhE,322
|
|
5
6
|
python_sdk_remote/mini_logger.py,sha256=E6OUZ39uBkPN_cjemO6hfJcRcYtP1xh1ZwaCFyZYsXA,4132
|
|
6
|
-
python_sdk_remote/our_object.py,sha256=
|
|
7
|
+
python_sdk_remote/our_object.py,sha256=29wpx64RBcavSzAMTwgGsWOhrXthY1vTWMqA_gGyju8,3706
|
|
7
8
|
python_sdk_remote/unified_json.py,sha256=tLkikIVpFAtpioYwtovkGX8-3U9YElGWe4Ph34qDTq4,837
|
|
8
9
|
python_sdk_remote/utilities.py,sha256=OBI9dUhU11ippo84hxcNmOQAYqSNq4A0uFiK4MGTWfk,15099
|
|
9
10
|
python_sdk_remote/valid_json_versions.py,sha256=-ZU65JYI6gTEfK8o6gu9Dmm9SQmwzj5pDbEXiyUbBhQ,138
|
|
10
11
|
python_sdk_remote/validate_environment.py,sha256=nzCHZDw56G56ekrTQT3gG48utjsU4VCwQi9dVsBDas0,2268
|
|
11
|
-
python_sdk_remote-0.0.
|
|
12
|
-
python_sdk_remote-0.0.
|
|
13
|
-
python_sdk_remote-0.0.
|
|
14
|
-
python_sdk_remote-0.0.
|
|
12
|
+
python_sdk_remote-0.0.142.dist-info/METADATA,sha256=cx4n25skuPryb0ZDJW7TrKZFJrB5mAEt2WtIG9gRjKs,729
|
|
13
|
+
python_sdk_remote-0.0.142.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
14
|
+
python_sdk_remote-0.0.142.dist-info/top_level.txt,sha256=JTpEq_svPlI5hTlPq30Ne-NkR-u5464gjVDP2U74PvE,18
|
|
15
|
+
python_sdk_remote-0.0.142.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|