Minor typing update

This commit is contained in:
awsr
2026-03-19 01:50:36 -07:00
parent 4f40a9c8dd
commit 867960f4ef
+2 -2
View File
@@ -1,6 +1,6 @@
from __future__ import annotations
from contextlib import contextmanager
from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, ClassVar
from threading import Lock
if TYPE_CHECKING:
@@ -40,7 +40,7 @@ class ErrorLimiterAbort(RuntimeError):
class ErrorLimiter:
_store: dict[str, int] = {}
_store: ClassVar[dict[str, int]] = {}
@classmethod
def start(cls, name: str, limit: int = 5):