ratio1 3.4.100__py3-none-any.whl → 3.4.101__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.
ratio1/_ver.py CHANGED
@@ -1,4 +1,4 @@
1
- __VER__ = "3.4.100"
1
+ __VER__ = "3.4.101"
2
2
 
3
3
  if __name__ == "__main__":
4
4
  with open("pyproject.toml", "rt") as fd:
@@ -538,7 +538,13 @@ class GenericSession(BaseDecentrAIObject):
538
538
  message_callback : Callable[[dict, str, str, str, str], None]
539
539
  The callback that will handle the message.
540
540
  """
541
- dict_msg = json.loads(message)
541
+ dict_msg_parsed, dict_msg = None, None
542
+ try:
543
+ dict_msg = json.loads(message)
544
+ except json.JSONDecodeError:
545
+ self.D("Failed to decode JSON message: {}".format(message), verbosity=2)
546
+ return
547
+
542
548
  # parse the message
543
549
  dict_msg_parsed = self.__parse_message(dict_msg)
544
550
  if dict_msg_parsed is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ratio1
3
- Version: 3.4.100
3
+ Version: 3.4.101
4
4
  Summary: `ratio1` or Ration1 SDK is the Python SDK required for client app development for the Ratio1 ecosystem
5
5
  Project-URL: Homepage, https://github.com/Ratio1/ratio1_sdk
6
6
  Project-URL: Bug Tracker, https://github.com/Ratio1/ratio1_sdk/issues
@@ -1,10 +1,10 @@
1
1
  ratio1/__init__.py,sha256=YimqgDbjLuywsf8zCWE0EaUXH4MBUrqLxt0TDV558hQ,632
2
- ratio1/_ver.py,sha256=zeVQmPdfU1TWDV_clEZIUR8eSa_KXy3skTeu4LWSJxs,332
2
+ ratio1/_ver.py,sha256=TfhCgcGxyfsiDbJ1mx2faXqlllhgAWYMj9sM802Uwq8,332
3
3
  ratio1/base_decentra_object.py,sha256=iXvAAf6wPnGWzeeiRfwLojVoan-m1e_VsyPzjUQuENo,4492
4
4
  ratio1/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
5
5
  ratio1/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
6
6
  ratio1/base/distributed_custom_code_presets.py,sha256=cvz5R88P6Z5V61Ce1vHVVh8bOkgXd6gve_vdESDNAsg,2544
7
- ratio1/base/generic_session.py,sha256=wO1amAlQKDbzX4hddjymbRg6rwm2Dr7CFiQOAhx6uBw,194744
7
+ ratio1/base/generic_session.py,sha256=Nn8vhCZ2bCA5zhO0P-M1HlPUiDY3TEsiqi695ILFZA4,194935
8
8
  ratio1/base/instance.py,sha256=oQvwzzRvir7851wyhDx_BwN6y_VgsNWwYo53vN33QI4,21914
9
9
  ratio1/base/pipeline.py,sha256=szoHrk1qBdY6NKPUk3tUTsJx3XzYp5C2GTOlzRiQi48,62489
10
10
  ratio1/base/plugin_template.py,sha256=Gs438cSkhvxPujE4CRH_32pcuZaVwI9kia8E4VDRpSU,138794
@@ -109,8 +109,8 @@ ratio1/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,10
109
109
  ratio1/utils/config.py,sha256=Elfkl7W4aDMvB5WZLiYlPXrecBncgTxb4hcKhQedMzI,10111
110
110
  ratio1/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
111
111
  ratio1/utils/oracle_sync/oracle_tester.py,sha256=aJOPcZhtbw1XPqsFG4qYpfv2Taj5-qRXbwJzrPyeXDE,27465
112
- ratio1-3.4.100.dist-info/METADATA,sha256=lE-g9uiost_2KRL3atMpw_mbjZgz0gyIbQds0hBKjt8,12256
113
- ratio1-3.4.100.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
114
- ratio1-3.4.100.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
115
- ratio1-3.4.100.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
116
- ratio1-3.4.100.dist-info/RECORD,,
112
+ ratio1-3.4.101.dist-info/METADATA,sha256=BVU5wfCAfmdkLik5OxkmamwQElMbvCs22_22XF0_u00,12256
113
+ ratio1-3.4.101.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
114
+ ratio1-3.4.101.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
115
+ ratio1-3.4.101.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
116
+ ratio1-3.4.101.dist-info/RECORD,,