💥 Remove: 移除 Python 3.9 支持 (#3860)

This commit is contained in:
呵呵です
2026-02-18 00:11:36 +08:00
committed by GitHub
parent f719a6b41b
commit 63cde5da77
56 changed files with 603 additions and 1144 deletions

View File

@@ -12,7 +12,6 @@ FrontMatter:
"""
import signal
from typing import Optional
from typing_extensions import override
import anyio
@@ -112,7 +111,7 @@ class Driver(BaseDriver):
if not self.should_exit.is_set():
logger.info("Application startup completed.")
async def _listen_exit(self, tg: Optional[TaskGroup] = None):
async def _listen_exit(self, tg: TaskGroup | None = None):
await self.should_exit.wait()
if tg is not None: