From 6648f377e87c5e6241af446b8474fff5a3fa77a1 Mon Sep 17 00:00:00 2001 From: RF-Tar-Railt Date: Fri, 3 Jan 2025 21:17:40 +0800 Subject: [PATCH] fix: `manager.status.exiting` --- launart/status.py | 4 ++++ pyproject.toml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/launart/status.py b/launart/status.py index f6dceec..1156659 100644 --- a/launart/status.py +++ b/launart/status.py @@ -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"" diff --git a/pyproject.toml b/pyproject.toml index 23ac166..643fced 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,6 @@ authors = [ {name = "GreyElaina", email = "GreyElaina@outlook.com"}, ] dependencies = [ - "statv>=0.2.2", "loguru>=0.6.0", "creart>=0.3.0", "typing-extensions>=4.5.0",