Skip to content

Commit

Permalink
fix: manager.status.exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Jan 3, 2025
1 parent cd22273 commit 6648f37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions launart/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ class ManagerStatus:
def __init__(self, context: ServiceContext):
self._context = context

@property
def exiting(self):
return self._context.should_exit

def __repr__(self) -> str:
return f"<ManagerStatus stage={self._context._status}>"

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ authors = [
{name = "GreyElaina", email = "[email protected]"},
]
dependencies = [
"statv>=0.2.2",
"loguru>=0.6.0",
"creart>=0.3.0",
"typing-extensions>=4.5.0",
Expand Down

0 comments on commit 6648f37

Please sign in to comment.