From 8012e9d79275ee380f0ca9ca4fb3d3fce84e6916 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Sat, 7 Mar 2026 21:17:46 -0800 Subject: [PATCH] ci(M01): use type.__setattr__ for stub class attr cache Made-with: Cursor --- scripts/dev/create_stub_repos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev/create_stub_repos.py b/scripts/dev/create_stub_repos.py index cabb883a1..98496811f 100644 --- a/scripts/dev/create_stub_repos.py +++ b/scripts/dev/create_stub_repos.py @@ -35,7 +35,7 @@ def _make_stub_class(name): except AttributeError: if attr.isupper() or (attr and attr[0].isupper() and "_" in attr): d = {} - object.__setattr__(cls, attr, d) # cache for future access + type.__setattr__(cls, attr, d) # cache for future access return d return _noop return _Meta(name, (), {"forward": _noop})