From ee2eb764114d8fa116bf21d19e42c25be68e3ce9 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Mar 02 2020 03:21:48 +0000 Subject: Fix argument type in docstring Signed-off-by: Chenxiong Qi --- diff --git a/freshmaker/lightblue.py b/freshmaker/lightblue.py index abc182f..9a21b74 100644 --- a/freshmaker/lightblue.py +++ b/freshmaker/lightblue.py @@ -644,8 +644,9 @@ class LightBlue(object): based on the self.published, self.release_categories attributes. :param bool published: whether to limit queries to published repositories - :param tuple release_categories: filter only repositories with specific + :param release_categories: filter only repositories with specific release categories (options: Deprecated, Generally Available, Beta, Tech Preview) + :type release_categories: tuple[str] or list[str] """ if published is not None: request["query"]["$and"].append({ @@ -674,9 +675,10 @@ class LightBlue(object): :param bool published: whether to limit queries to published repositories - :param tuple release_categories: filter only repositories with specific + :param release_categories: filter only repositories with specific release categories (options: Deprecated, Generally Available, Beta, Tech Preview) + :type release_categories: tuple[str] or list[str] :rtype: dict :return: Dict with repository name as key and ContainerRepository as value. @@ -1350,8 +1352,9 @@ class LightBlue(object): Freshmaker configuration. :param bool published: whether to limit queries to published repositories - :param str release_categories: filter only repositories with specific + :param release_categories: filter only repositories with specific release categories (options: Deprecated, Generally Available, Beta, Tech Preview) + :type release_categories: tuple[str] or list[str] :param list leaf_container_images: List of NVRs of leaf images to consider for the rebuild. If not set, all images found in Lightblue will be considered for rebuild.