File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3636 toxenv : py312,smoke
3737 - version : " 3.13"
3838 toxenv : py313,smoke
39- # NOTE(jlvillal): 2024-10-17: Enable this once we fix
40- # https://github.com/python-gitlab/python-gitlab/issues/3013
41- # - version: "3.14.0-alpha - 3.14" # SemVer's version range syntax
42- # toxenv: py314,smoke
39+ - version : " 3.14.0-alpha - 3.14" # SemVer's version range syntax
40+ toxenv : py314,smoke
4341 include :
4442 - os : macos-latest
4543 python :
Original file line number Diff line number Diff line change 11import copy
22import importlib
3+ import inspect
34import json
45import pprint
56import textwrap
@@ -201,7 +202,8 @@ def _create_managers(self) -> None:
201202 # NOTE(jlvillal): We are creating our managers by looking at the class
202203 # annotations. If an attribute is annotated as being a *Manager type
203204 # then we create the manager and assign it to the attribute.
204- for attr , annotation in sorted (self .__annotations__ .items ()):
205+ # for attr, annotation in sorted(inspect.get_annotations(self.__class__).items()):
206+ for attr , annotation in sorted (self .__class__ .__annotations__ .items ()):
205207 # We ignore creating a manager for the 'manager' attribute as that
206208 # is done in the self.__init__() method
207209 if attr in ("manager" ,):
You can’t perform that action at this time.
0 commit comments