Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb1696be

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

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
classProjectPackageFile(ObjectDeleteMixin,RESTObject):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp