Skip to content

Commit

Permalink
Merge pull request #1353 from JohnVillalovos/jlvillal/mypy_base
Browse files Browse the repository at this point in the history
chore: add type hints to gitlab/base.py:RESTManager
  • Loading branch information
nejch committed Mar 6, 2021
2 parents c530f75 + 9c55593 commit ebdfec7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gitlab/base.py
Expand Up @@ -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.
Expand Down

0 comments on commit ebdfec7

Please sign in to comment.