diff options
author | John L. Villalovos <john@sodarock.com> | 2021-11-30 08:37:53 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-11-30 08:37:53 -0800 |
commit | 6b8067e668b6a37a19e07d84e9a0d2d2a99b4d31 (patch) | |
tree | 6f3accf36834c541caa68b46c402d67febeed041 /gitlab/mixins.py | |
parent | c0aa0e1c9f7d7914e3062fe6503da870508b27cf (diff) | |
download | gitlab-6b8067e668b6a37a19e07d84e9a0d2d2a99b4d31.tar.gz |
chore: use constants from gitlab.const module
Have code use constants from the gitlab.const module instead of from
the top-level gitlab module.
Diffstat (limited to 'gitlab/mixins.py')
-rw-r--r-- | gitlab/mixins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/mixins.py b/gitlab/mixins.py index 0159ecd..916da3c 100644 --- a/gitlab/mixins.py +++ b/gitlab/mixins.py @@ -618,7 +618,7 @@ class AccessRequestMixin(_RestObjectBase): ) @exc.on_http_error(exc.GitlabUpdateError) def approve( - self, access_level: int = gitlab.DEVELOPER_ACCESS, **kwargs: Any + self, access_level: int = gitlab.const.DEVELOPER_ACCESS, **kwargs: Any ) -> None: """Approve an access request. |