fix(rate-limiting): use an immutable tuple for TagRateLimitGroup.limits

Pre-existing mutable list[TagRateLimitEntry] field newly tripped the
type-discipline LIT001 ratchet after the rebase lowered its ceiling.
No other code relies on list mutation here (the one reader already
wraps it in tuple()), so switch to tuple[TagRateLimitEntry, ...].
This commit is contained in:
Deepanshu 2026-08-11 15:21:31 -04:00
parent 170aa0604b
commit 50a11743d8

View file

@ -154,7 +154,7 @@ class TagRateLimitEntry(BaseModel):
class TagRateLimitGroup(BaseModel):
limits: list[TagRateLimitEntry] = Field(default_factory=list)
limits: tuple[TagRateLimitEntry, ...] = ()
class TagRateLimits(BaseModel):