From a08471c2c03543f2cbc393fdc7db2589bcf8ecc1 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:35:45 +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 c9694d6990..581146aaa1 100644 --- a/src/aiida/engine/daemon/worker.py +++ b/src/aiida/engine/daemon/worker.py @@ -38,6 +38,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. @@ -70,6 +71,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.