From ea1ac07e3beb7c50172dd4dbe0b7c1e990a975ee Mon Sep 17 00:00:00 2001 From: Aria Desires Date: Thu, 17 Jul 2025 13:21:55 -0400 Subject: [PATCH] prefer the shim as canonical --- crates/ty_python_semantic/src/types/class.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/types/class.rs b/crates/ty_python_semantic/src/types/class.rs index 38436bdf9c..2adba3d692 100644 --- a/crates/ty_python_semantic/src/types/class.rs +++ b/crates/ty_python_semantic/src/types/class.rs @@ -3064,8 +3064,8 @@ impl KnownClass { | Self::ParamSpec | Self::ParamSpecArgs | Self::ParamSpecKwargs + | Self::Deprecated | Self::NewType => KnownModule::TypingExtensions, - Self::Deprecated => KnownModule::Warnings, Self::NoDefaultType => { let python_version = Program::get(db).python_version(db);