naeural-client 2.5.13__py3-none-any.whl → 2.5.14__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.
naeural_client/_ver.py CHANGED
@@ -1,4 +1,4 @@
1
- __VER__ = "2.5.13"
1
+ __VER__ = "2.5.14"
2
2
 
3
3
  if __name__ == "__main__":
4
4
  with open("pyproject.toml", "rt") as fd:
@@ -10,7 +10,7 @@ from time import sleep
10
10
  from time import time as tm
11
11
 
12
12
  from ..base_decentra_object import BaseDecentrAIObject
13
- from ..bc import DefaultBlockEngine
13
+ from ..bc import DefaultBlockEngine, _DotDict
14
14
  from ..const import (
15
15
  COMMANDS, ENVIRONMENT, HB, PAYLOAD_DATA, STATUS_TYPE,
16
16
  PLUGIN_SIGNATURES, DEFAULT_PIPELINES,
@@ -2272,7 +2272,12 @@ class GenericSession(BaseDecentrAIObject):
2272
2272
  -------
2273
2273
 
2274
2274
  dict
2275
- A dictionary containing the report, the reporter and the number of supervisors.
2275
+ A "doct-dict" dictionary containing the report, the reporter and the number of supervisors.
2276
+ .report : DataFrame - The report containing the known nodes in the network.
2277
+ .reporter : str - The reporter of the report.
2278
+ .reporter_alias : str - The alias of the reporter.
2279
+ .nr_super : int - The number of supervisors.
2280
+ .elapsed : float - The elapsed time.
2276
2281
 
2277
2282
 
2278
2283
 
@@ -2348,11 +2353,11 @@ class GenericSession(BaseDecentrAIObject):
2348
2353
  # end for
2349
2354
  # end if
2350
2355
  pd.options.display.float_format = '{:.1f}'.format
2351
- dct_result ={
2356
+ dct_result = _DotDict({
2352
2357
  'report' : pd.DataFrame(res),
2353
2358
  'reporter' : best_super,
2354
2359
  'reporter_alias' : best_super_alias,
2355
2360
  'nr_super' : len(self.__current_network_statuses),
2356
2361
  'elapsed' : elapsed,
2357
- }
2362
+ })
2358
2363
  return dct_result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: naeural_client
3
- Version: 2.5.13
3
+ Version: 2.5.14
4
4
  Summary: `naeural_client` is the Python SDK required for client app development for the Naeural Edge Protocol Edge Protocol framework
5
5
  Project-URL: Homepage, https://github.com/NaeuralEdgeProtocol/naeural_client
6
6
  Project-URL: Bug Tracker, https://github.com/NaeuralEdgeProtocol/naeural_client/issues
@@ -1,10 +1,10 @@
1
1
  naeural_client/__init__.py,sha256=GP8WSrn87sjTPO-QRNL2PG8JK5Mixbiea_HrtbG8RAQ,592
2
- naeural_client/_ver.py,sha256=X8jG_pnMmkhenukxV6xSzGjehYk7LMlNwojkR7RFc5E,331
2
+ naeural_client/_ver.py,sha256=OvfE4D7AkISBE0Zs9LfE87m_VMS_4nmmTptsG5gPTvc,331
3
3
  naeural_client/base_decentra_object.py,sha256=C4iwZTkhKNBS4VHlJs5DfElRYLo4Q9l1V1DNVSk1fyQ,4412
4
4
  naeural_client/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
5
5
  naeural_client/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
6
6
  naeural_client/base/distributed_custom_code_presets.py,sha256=cvz5R88P6Z5V61Ce1vHVVh8bOkgXd6gve_vdESDNAsg,2544
7
- naeural_client/base/generic_session.py,sha256=6dc7oiKSw0Tc1pOh1WiE4XI8qX-hch-EKLozqsBiJ7o,88092
7
+ naeural_client/base/generic_session.py,sha256=BCxmu9Q7HCnLbDYvXa_6cNBPwZhv-3MPloIQ6h4wjb0,88440
8
8
  naeural_client/base/instance.py,sha256=kcZJmjLBtx8Bjj_ysIOx1JmLA-qSpG7E28j5rq6IYus,20444
9
9
  naeural_client/base/pipeline.py,sha256=b4uNHrEIOlAtw4PGUx20dxwBhDck5__SrVXaHcSi8ZA,58251
10
10
  naeural_client/base/plugin_template.py,sha256=qGaXByd_JZFpjvH9GXNbT7KaitRxIJB6-1IhbKrZjq4,138123
@@ -81,8 +81,8 @@ naeural_client/utils/__init__.py,sha256=mAnke3-MeRzz3nhQvhuHqLnpaaCSmDxicd7Ck9uw
81
81
  naeural_client/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,1072
82
82
  naeural_client/utils/config.py,sha256=aUVyi5rZjvnbUwM5mmj0E2IHvURdrlHSgleqZvJBNuU,5202
83
83
  naeural_client/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
84
- naeural_client-2.5.13.dist-info/METADATA,sha256=IrxAiqktgV62i7ztjMjrtXIzugDvd5difPNzdq-YkgI,14494
85
- naeural_client-2.5.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
86
- naeural_client-2.5.13.dist-info/entry_points.txt,sha256=PNdyotDaQBAslZREx5luVyj0kqpQnwNACwkFNTPIHU4,55
87
- naeural_client-2.5.13.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
88
- naeural_client-2.5.13.dist-info/RECORD,,
84
+ naeural_client-2.5.14.dist-info/METADATA,sha256=gjw552PambsqYitLB5RGMu1F9tAzY0MCNpjsGTmf6v0,14494
85
+ naeural_client-2.5.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
86
+ naeural_client-2.5.14.dist-info/entry_points.txt,sha256=PNdyotDaQBAslZREx5luVyj0kqpQnwNACwkFNTPIHU4,55
87
+ naeural_client-2.5.14.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
88
+ naeural_client-2.5.14.dist-info/RECORD,,