hub: document listBType return value when query matches no entries
When a user calls listBType with a query parameter and that query matches no existing btypes, the listBType method returns an empty list. Add this information to the listBType docstring.
This commit is contained in:
parent
44cc51c846
commit
07bc3a82d6
1 changed files with 3 additions and 1 deletions
|
|
@ -4530,7 +4530,9 @@ def list_btypes(query=None, queryOpts=None):
|
|||
If this parameter is None (default), Koji returns all
|
||||
btypes.
|
||||
:param dict queryOpts: additional options for this query.
|
||||
:returns: a list of btype dicts.
|
||||
:returns: a list of btype dicts. If you specify a query parameter for a
|
||||
btype name or id that does not exist, Koji will return an empty
|
||||
list.
|
||||
"""
|
||||
if query is None:
|
||||
query = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue