summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-03-06 20:58:52 +0100
committerGitHub <noreply@github.com>2021-03-06 20:58:52 +0100
commitebdfec7ee66c1cc64024fe52b2b0821d51779c2a (patch)
tree056ce2d8db056c3717562ad86e63140144318fd3
parentc530f75a3f356e2fc9732c6a3688881e453115e7 (diff)
parent9c55593ae6a7308176710665f8bec094d4cadc2e (diff)
downloadgitlab-ebdfec7ee66c1cc64024fe52b2b0821d51779c2a.tar.gz
Merge pull request #1353 from JohnVillalovos/jlvillal/mypy_base
chore: add type hints to gitlab/base.py:RESTManager
-rw-r--r--gitlab/base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitlab/base.py b/gitlab/base.py
index 6334a6f..ed551ff 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -261,6 +261,11 @@ class RESTManager(object):
_obj_cls: Optional[Type[RESTObject]] = None
_from_parent_attrs: Dict[str, Any] = {}
+ _computed_path: Optional[str]
+ _parent: Optional[RESTObject]
+ _parent_attrs: Dict[str, Any]
+ gitlab: Gitlab
+
def __init__(self, gl: Gitlab, parent: Optional[RESTObject] = None) -> None:
"""REST manager constructor.