From b584cae3ce672bb2419aba617606b88e10c59101 Mon Sep 17 00:00:00 2001 From: Jiri Kyjovsky Date: Mon, 22 May 2023 15:14:52 +0200 Subject: [PATCH] python: add repo `priority` to python API --- python/copr/v3/proxies/project.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python/copr/v3/proxies/project.py b/python/copr/v3/proxies/project.py index e22642757..7ed67e4cc 100644 --- a/python/copr/v3/proxies/project.py +++ b/python/copr/v3/proxies/project.py @@ -71,7 +71,8 @@ def add(self, ownername, projectname, chroots, description=None, instructions=No auto_prune=True, use_bootstrap_container=None, devel_mode=False, delete_after_days=None, multilib=False, module_hotfixes=False, bootstrap=None, bootstrap_image=None, isolation=None, follow_fedora_branching=True, - fedora_review=None, appstream=False, runtime_dependencies=None, packit_forge_projects_allowed=None): + fedora_review=None, appstream=False, runtime_dependencies=None, packit_forge_projects_allowed=None, + priority=None): """ Create a project @@ -139,6 +140,7 @@ def add(self, ownername, projectname, chroots, description=None, instructions=No "appstream": appstream, "runtime_dependencies": runtime_dependencies, "packit_forge_projects_allowed": packit_forge_projects_allowed, + "priority": priority, } _compat_use_bootstrap_container(data, use_bootstrap_container) @@ -157,7 +159,8 @@ def edit(self, ownername, projectname, chroots=None, description=None, instructi auto_prune=None, use_bootstrap_container=None, devel_mode=None, delete_after_days=None, multilib=None, module_hotfixes=None, bootstrap=None, bootstrap_image=None, isolation=None, follow_fedora_branching=None, - fedora_review=None, appstream=None, runtime_dependencies=None, packit_forge_projects_allowed=None): + fedora_review=None, appstream=None, runtime_dependencies=None, packit_forge_projects_allowed=None, + priority=None): """ Edit a project @@ -223,6 +226,7 @@ def edit(self, ownername, projectname, chroots=None, description=None, instructi "appstream": appstream, "runtime_dependencies": runtime_dependencies, "packit_forge_projects_allowed": packit_forge_projects_allowed, + "priority": priority, } _compat_use_bootstrap_container(data, use_bootstrap_container)