neuronum 5.8.2__tar.gz → 5.8.3__tar.gz
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 neuronum might be problematic. Click here for more details.
- {neuronum-5.8.2/neuronum.egg-info → neuronum-5.8.3}/PKG-INFO +1 -1
- {neuronum-5.8.2 → neuronum-5.8.3}/cli/main.py +12 -3
- {neuronum-5.8.2 → neuronum-5.8.3/neuronum.egg-info}/PKG-INFO +1 -1
- {neuronum-5.8.2 → neuronum-5.8.3}/setup.py +1 -1
- {neuronum-5.8.2 → neuronum-5.8.3}/LICENSE.md +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/README.md +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/cli/__init__.py +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/neuronum/__init__.py +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/neuronum/neuronum.py +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/neuronum.egg-info/SOURCES.txt +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/neuronum.egg-info/dependency_links.txt +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/neuronum.egg-info/entry_points.txt +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/neuronum.egg-info/requires.txt +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/neuronum.egg-info/top_level.txt +0 -0
- {neuronum-5.8.2 → neuronum-5.8.3}/setup.cfg +0 -0
|
@@ -402,6 +402,7 @@ import asyncio
|
|
|
402
402
|
import neuronum
|
|
403
403
|
import os
|
|
404
404
|
from dotenv import load_dotenv
|
|
405
|
+
import time
|
|
405
406
|
|
|
406
407
|
load_dotenv()
|
|
407
408
|
host = os.getenv("HOST")
|
|
@@ -427,6 +428,7 @@ async def main():
|
|
|
427
428
|
"key3": "value3",
|
|
428
429
|
}}
|
|
429
430
|
await cell.stream(label, data, STX)
|
|
431
|
+
time.sleep(5)
|
|
430
432
|
|
|
431
433
|
asyncio.run(main())
|
|
432
434
|
""")
|
|
@@ -466,6 +468,7 @@ import asyncio
|
|
|
466
468
|
import neuronum
|
|
467
469
|
import os
|
|
468
470
|
from dotenv import load_dotenv
|
|
471
|
+
import time
|
|
469
472
|
|
|
470
473
|
load_dotenv()
|
|
471
474
|
host = os.getenv("HOST")
|
|
@@ -488,6 +491,7 @@ async def main():
|
|
|
488
491
|
"message": "Hello, Neuronum!"
|
|
489
492
|
}}
|
|
490
493
|
await cell.stream(label, data)
|
|
494
|
+
time.sleep(5)
|
|
491
495
|
|
|
492
496
|
asyncio.run(main())
|
|
493
497
|
""")
|
|
@@ -614,8 +618,9 @@ def start_node(d):
|
|
|
614
618
|
)
|
|
615
619
|
else:
|
|
616
620
|
process = subprocess.Popen(
|
|
617
|
-
[
|
|
618
|
-
|
|
621
|
+
["python", str(script_path)],
|
|
622
|
+
stdout = None,
|
|
623
|
+
stderr = None
|
|
619
624
|
)
|
|
620
625
|
|
|
621
626
|
processes.append(process.pid)
|
|
@@ -766,7 +771,11 @@ def restart_node(d):
|
|
|
766
771
|
start_new_session=True
|
|
767
772
|
)
|
|
768
773
|
else:
|
|
769
|
-
process = subprocess.Popen(
|
|
774
|
+
process = subprocess.Popen(
|
|
775
|
+
["python", str(script_path)],
|
|
776
|
+
stdout = None,
|
|
777
|
+
stderr = None
|
|
778
|
+
)
|
|
770
779
|
|
|
771
780
|
processes.append(process.pid)
|
|
772
781
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|