PR#2158: hub: document addExternalRepoToTag arguments

Merges #2158
https://pagure.io/koji/pull-request/2158

Fixes #2164
https://pagure.io/koji/issue/2164
This commit is contained in:
Tomas Kopecek 2020-04-27 15:17:52 +02:00
commit 65d26d0e91

View file

@ -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)