diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-01-13 18:04:11 +0100 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2022-01-13 10:48:34 -0800 |
commit | 6f64d4098ed4a890838c6cf43d7a679e6be4ac6c (patch) | |
tree | acda42724afd26852b2edabf17144d36a2c4f183 /gitlab/v4/objects/environments.py | |
parent | 824151ce9238f97118ec21aa8b3267cc7a2cd649 (diff) | |
download | gitlab-6f64d4098ed4a890838c6cf43d7a679e6be4ac6c.tar.gz |
fix(cli): add missing list filters for environments
Diffstat (limited to 'gitlab/v4/objects/environments.py')
-rw-r--r-- | gitlab/v4/objects/environments.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/v4/objects/environments.py b/gitlab/v4/objects/environments.py index 35f2fb2..98b45a6 100644 --- a/gitlab/v4/objects/environments.py +++ b/gitlab/v4/objects/environments.py @@ -48,6 +48,7 @@ class ProjectEnvironmentManager( _from_parent_attrs = {"project_id": "id"} _create_attrs = RequiredOptional(required=("name",), optional=("external_url",)) _update_attrs = RequiredOptional(optional=("name", "external_url")) + _list_filters = ("name", "search", "states") def get( self, id: Union[str, int], lazy: bool = False, **kwargs: Any |