laborchestrator.gui.old_dash_app module

class laborchestrator.gui.old_dash_app.SMDashApp(sm_interface: OrchestratorInterface, port=8050, process_module=<module 'test_data' from '/builds/OpenLabAutomation/lab-automation-packages/laborchestrator/tests/test_data/__init__.py'>, arm_open: bool = True, db_open: bool = True, browser_open: bool = True)[source]

Bases: object

_reload_process_module()[source]

Drop the process package and all of its submodules from the module cache and import it again.

ProcessFinder imports the individual process modules with importlib.import_module, which is a cache hit for everything already loaded. Purging the cache first makes that import re-execute the files, so edits to create_resources and init_service_resources reach processes added from now on. Processes that were added earlier keep the class objects they were built from and are not affected.

app: DashProxy
property importable_processes: list[str]
p: Thread
run()[source]
selected_operation: str
sm_interface: Orchestrator
stop()[source]
laborchestrator.gui.old_dash_app.create_timestamp() str[source]