Skip to content

Commit 6f64d40

Browse files
nejchJohnVillalovos
authored andcommitted
fix(cli): add missing list filters for environments
1 parent 824151c commit 6f64d40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/v4/objects/environments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class ProjectEnvironmentManager(
4848
_from_parent_attrs = {"project_id": "id"}
4949
_create_attrs = RequiredOptional(required=("name",), optional=("external_url",))
5050
_update_attrs = RequiredOptional(optional=("name", "external_url"))
51+
_list_filters = ("name", "search", "states")
5152

5253
def get(
5354
self, id: Union[str, int], lazy: bool = False, **kwargs: Any

0 commit comments

Comments
 (0)