mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-17 01:49:15 +08:00
fix: annotate result dict as dict[str, Any] for last_activity None
This commit is contained in:
@@ -112,7 +112,7 @@ class RuntimeStatusStar:
|
||||
|
||||
def _get_stats(self) -> dict[str, Any]:
|
||||
"""Get message counts and metrics."""
|
||||
result = {
|
||||
result: dict[str, Any] = {
|
||||
"uptime_seconds": time.time() - self._start_time,
|
||||
}
|
||||
if self._orchestrator:
|
||||
|
||||
Reference in New Issue
Block a user