From 65d26d0e91ea018a235fd8f6dc1288013e6013e3 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Apr 27 2020 13:17:52 +0000 Subject: PR#2158: hub: document addExternalRepoToTag arguments Merges #2158 https://pagure.io/koji/pull-request/2158 Fixes #2164 https://pagure.io/koji/issue/2164 --- diff --git a/hub/kojihub.py b/hub/kojihub.py index 960c0c6..a2d109c 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -10459,7 +10459,15 @@ class RootExports(object): def addExternalRepoToTag(self, tag_info, repo_info, priority, merge_mode='koji'): - """Add an external repo to a tag""" + """Add an external repo to a tag. + + :param tag_info: Tag name or ID number + :param repo_info: External repository name or ID number + :param int priority: Priority of this repository for this tag + :param str merge_mode: This must be one of the values of the + koji.REPO_MERGE_MODES set. If unspecified, + the default is "koji". + """ # wrap the local method so we don't expose the event parameter add_external_repo_to_tag(tag_info, repo_info, priority, merge_mode)