From 958321812b2d5faf01a035981f965aa36498723e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 28 Dec 2024 00:13:58 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/aiida/engine/daemon/worker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aiida/engine/daemon/worker.py b/src/aiida/engine/daemon/worker.py index f461a4ba3..1dfd302a2 100644 --- a/src/aiida/engine/daemon/worker.py +++ b/src/aiida/engine/daemon/worker.py @@ -37,6 +37,7 @@ async def shutdown_worker(runner: Runner) -> None: LOGGER.info('Daemon worker stopped') + def create_daemon_runner(manager: Manager) -> 'Runner': """Create and return a new daemon runner. @@ -69,6 +70,7 @@ def create_daemon_runner(manager: Manager) -> 'Runner': return runner + def start_daemon_worker(foreground: bool = False) -> None: """Start a daemon worker for the currently configured profile.