refactor: use contextlib.suppress and sort __slots__ in backends

This commit is contained in:
2026-02-04 01:07:32 +00:00
parent ac90ac4141
commit 3510ea564a
3 changed files with 23 additions and 20 deletions

View File

@@ -71,6 +71,7 @@ class Backend(ABC):
"""Clear all rate limit data."""
...
@abstractmethod
async def close(self) -> None:
"""Close the backend connection."""
pass