Comparing v8.0.0...v8.1.0 · python-gitlab/python-gitlab
Commits on Feb 2, 2026
Commits on Feb 9, 2026
Commits on Feb 16, 2026
-
fix(types): add explicit submodule import for pyright compatibility
Add `import gitlab.base` inside the TYPE_CHECKING block in repositories.py so that pyright can resolve `gitlab.base.RESTObject`. Without the explicit import, pyright cannot resolve the submodule access via the parent package (implicit submodule access is a runtime loader side effect that type checkers don't model). This caused `_RestObjectBase` to be `Unknown`, propagating through `RepositoryMixin` into `Project` and other classes. Fixes #3342 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 people authored and nejch committed
Feb 16, 2026