From 0049e8604f114105b79d0009d4515dce0de4b661 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Apr 27 2020 13:17:44 +0000 Subject: hub: document addExternalRepoToTag arguments Describe the types of each argument to the addExternalRepoToTag() method. --- 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)