From 6e31a6c663d5e31a56f235eef939ed8f30b43382 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Jan 05 2024 10:01:00 +0000 Subject: avoid keyword-only args for now untagged_builds is exported and this aspect of the signature cannot be correctly reported by list-api --- diff --git a/kojihub/kojihub.py b/kojihub/kojihub.py index c2d7105..45ba3ff 100644 --- a/kojihub/kojihub.py +++ b/kojihub/kojihub.py @@ -1395,7 +1395,7 @@ def list_tags(build=None, package=None, perms=True, queryOpts=None, pattern=None def readTaggedBuilds(tag, event=None, inherit=False, latest=False, package=None, owner=None, - type=None, extra=False, *, draft=None): + type=None, extra=False, draft=None): """Returns a list of builds for specified tag :param int tag: tag ID @@ -8514,7 +8514,7 @@ def query_history(tables=None, **kwargs): return ret -def untagged_builds(name=None, queryOpts=None, *, draft=None): +def untagged_builds(name=None, queryOpts=None, draft=None): """Returns the list of untagged builds""" st_complete = koji.BUILD_STATES['COMPLETE'] # following can be achieved with simple query but with