diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-04-26 23:53:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 23:53:26 +0200 |
commit | 5b81d7d25e5deefa4333098ebb5bc646fcee2c8d (patch) | |
tree | 689b1e9a53dbc006fe3d4db929633facd4d44ba3 /gitlab/mixins.py | |
parent | 37af2296703a481721489a66c5fc554257e34527 (diff) | |
parent | 3c1a0b3ba1f529fab38829c9d355561fd36f4f5d (diff) | |
download | gitlab-5b81d7d25e5deefa4333098ebb5bc646fcee2c8d.tar.gz |
Merge pull request #1412 from JohnVillalovos/jlvillal/optional_get_attrs
chore: make Get.*Mixin._optional_get_attrs always present
Diffstat (limited to 'gitlab/mixins.py')
-rw-r--r-- | gitlab/mixins.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/mixins.py b/gitlab/mixins.py index 4c3e46e..b9026c5 100644 --- a/gitlab/mixins.py +++ b/gitlab/mixins.py @@ -75,6 +75,7 @@ class GetMixin(_RestManagerBase): _computed_path: Optional[str] _from_parent_attrs: Dict[str, Any] _obj_cls: Optional[Type[base.RESTObject]] + _optional_get_attrs: Tuple[str, ...] = () _parent: Optional[base.RESTObject] _parent_attrs: Dict[str, Any] _path: Optional[str] @@ -119,6 +120,7 @@ class GetWithoutIdMixin(_RestManagerBase): _computed_path: Optional[str] _from_parent_attrs: Dict[str, Any] _obj_cls: Optional[Type[base.RESTObject]] + _optional_get_attrs: Tuple[str, ...] = () _parent: Optional[base.RESTObject] _parent_attrs: Dict[str, Any] _path: Optional[str] |