diff --git a/gso/utils/helpers.py b/gso/utils/helpers.py index bbdbdd93a73bfdc51021c928057605f689308b20..fdf851e8495c697e95ad45747d07269f29e7a2db 100644 --- a/gso/utils/helpers.py +++ b/gso/utils/helpers.py @@ -311,15 +311,10 @@ def generate_inventory_for_active_routers( Contains all active routers of a specific role. Optionally, routers can be excluded from the inventory. - Args: - ---- - router_role (RouterRole): The role of the routers to include in the inventory. - exclude_routers (list): List of routers to exclude from the inventory. - - Returns: - ------- - dict[str, Any]: A dictionary representing the inventory of active routers. - + :param RouterRole router_role: The role of the routers to include in the inventory. + :param list exclude_routers: List of routers to exclude from the inventory. + :return: A dictionary representing the inventory of active routers. + :rtype: dict[str, Any] """ all_routers = [Router.from_subscription(r["subscription_id"]) for r in get_active_router_subscriptions()] exclude_routers = exclude_routers or []