mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix(responses): suppress LIT002 on error-code map frozen by MappingProxyType
This commit is contained in:
parent
34d2675853
commit
9545b109b1
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def _log_background_task_failure(task: "asyncio.Task[Any]", *, task_name: str) -
|
|||
|
||||
|
||||
_ERROR_CODE_HTTP_STATUS: Mapping[str, int] = MappingProxyType(
|
||||
{
|
||||
{ # mutable-ok: immediately frozen by MappingProxyType
|
||||
"server_error": 500,
|
||||
"rate_limit_exceeded": 429,
|
||||
"insufficient_quota": 429,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue