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:
Ken Dreyer 2020-07-16 17:38:06 -06:00 committed by Tomas Kopecek
parent 44cc51c846
commit 07bc3a82d6

View file

@ -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 = {}