diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-05-30 22:58:12 +0200 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2022-06-25 18:23:48 -0700 |
commit | 0f2a602d3a9d6579f5fdfdf945a236ae44e93a12 (patch) | |
tree | 57ceaafb384e11231b22890e4fc8a3fd4187c3a6 /gitlab/mixins.py | |
parent | 22ae1016f39256b8e2ca02daae8b3c7130aeb8e6 (diff) | |
download | gitlab-0f2a602d3a9d6579f5fdfdf945a236ae44e93a12.tar.gz |
refactor: remove no-op id argument in GetWithoutIdMixin
Diffstat (limited to 'gitlab/mixins.py')
-rw-r--r-- | gitlab/mixins.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gitlab/mixins.py b/gitlab/mixins.py index 71ba821..f2df27d 100644 --- a/gitlab/mixins.py +++ b/gitlab/mixins.py @@ -152,9 +152,7 @@ class GetWithoutIdMixin(HeadMixin, _RestManagerBase): gitlab: gitlab.Gitlab @exc.on_http_error(exc.GitlabGetError) - def get( - self, id: Optional[Union[int, str]] = None, **kwargs: Any - ) -> base.RESTObject: + def get(self, **kwargs: Any) -> base.RESTObject: """Retrieve a single object. Args: |