From bf5334bc59faf9d7a35bc75fa3d0ed9d8e20f344 Mon Sep 17 00:00:00 2001 From: ryan-crabbe-berri Date: Wed, 29 Jul 2026 12:32:55 -0700 Subject: [PATCH] fix(router): drop duplicate Mapping import that fails ruff F811 (#35122) router.py imports Mapping from collections.abc and again from typing, which ruff flags as a redefinition and fails the lint CI job on every open PR. Keep the collections.abc import --- litellm/router.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/router.py b/litellm/router.py index 6336b12258b..69535d7c74a 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -31,7 +31,6 @@ from typing import ( Generator, List, Literal, - Mapping, Optional, Set, Tuple,