refactor: use contextlib.suppress and sort __slots__ in backends
This commit is contained in:
@@ -71,6 +71,7 @@ class Backend(ABC):
|
||||
"""Clear all rate limit data."""
|
||||
...
|
||||
|
||||
@abstractmethod
|
||||
async def close(self) -> None:
|
||||
"""Close the backend connection."""
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user