Skip to content

Commit b1696be

Browse files
nickbroonnejch
authored andcommitted
feat(api): add missing ProjectPackageManager list filters
`package_version` was introduced in GitLab 16.6 See: https://docs.gitlab.com/api/packages/#for-a-project
1 parent f3c6678 commit b1696be

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

gitlab/v4/objects/packages.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ class GroupPackageManager(ListMixin[GroupPackage]):
220220
"sort",
221221
"package_type",
222222
"package_name",
223+
"package_version",
224+
"include_versionless",
225+
"status",
223226
)
224227

225228

@@ -234,7 +237,15 @@ class ProjectPackageManager(
234237
_path = "/projects/{project_id}/packages"
235238
_obj_cls = ProjectPackage
236239
_from_parent_attrs = {"project_id": "id"}
237-
_list_filters = ("order_by", "sort", "package_type", "package_name")
240+
_list_filters = (
241+
"order_by",
242+
"sort",
243+
"package_type",
244+
"package_name",
245+
"package_version",
246+
"include_versionless",
247+
"status",
248+
)
238249

239250

240251
class ProjectPackageFile(ObjectDeleteMixin, RESTObject):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy