From 6f64d4098ed4a890838c6cf43d7a679e6be4ac6c Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Thu, 13 Jan 2022 18:04:11 +0100 Subject: fix(cli): add missing list filters for environments --- gitlab/v4/objects/environments.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gitlab/v4/objects') 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 -- cgit v1.2.1