-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Daemon context and remove unused files 🛠️
- Updated `__init__.py` to simplify imports and __all__ definition. - Changed `start` function in `cli.py` for parameter renaming. - Refactored `daemon.py` to streamline context handling and added new `spawn` function. - Deleted unused `daemonize.py` and `possess.py` files to clean up the codebase. - Modified test in `test_daemon.py` to remove unnecessary debug file operations.
- Loading branch information
Showing
6 changed files
with
76 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
from h3daemon.daemon import Daemon, daemon_context | ||
from h3daemon.daemonize import spawn | ||
from h3daemon.ensure_pressed import ensure_pressed | ||
from h3daemon.possess import possess | ||
from h3daemon.daemon import context, possess, spawn | ||
|
||
__all__ = ["Daemon", "ensure_pressed", "spawn", "possess", "daemon_context"] | ||
__all__ = ["spawn", "possess", "context"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters