From: Picca Frédéric-Emmanuel <picca@debian.org>
Date: Thu, 19 Feb 2026 13:44:13 +0100
X-Dgit-Generated: 1:4.9.0-1.1 643412d075dbacc13762a6248e6aa576cdeab258
Subject: run test for all Python verisons


---

diff --git a/gitlab/base.py b/gitlab/base.py
index 15059fd..848d66b 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -201,7 +201,7 @@ class RESTObject:
         # NOTE(jlvillal): We are creating our managers by looking at the class
         # annotations. If an attribute is annotated as being a *Manager type
         # then we create the manager and assign it to the attribute.
-        for attr, annotation in sorted(self.__annotations__.items()):
+        for attr, annotation in sorted(self.__class__.__annotations__.items()):
             # We ignore creating a manager for the 'manager' attribute as that
             # is done in the self.__init__() method
             if attr in ("manager",):
