From b0f34e9ea0cec1fe815bb47a6038a093567a359c Mon Sep 17 00:00:00 2001 From: Daan Selen Date: Wed, 26 Mar 2025 16:58:12 +0100 Subject: [PATCH] add target_tag in function parameters. --- meshbook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshbook.py b/meshbook.py index 0f051a5..6f1fd2b 100644 --- a/meshbook.py +++ b/meshbook.py @@ -151,7 +151,7 @@ async def compile_group_list(session: meshctrl.Session) -> dict: }) return local_device_list -async def filter_targets(devices: list[dict], os_categories: dict, target_os: str = None) -> list[str]: +async def filter_targets(devices: list[dict], os_categories: dict, target_os: str = None, target_tag: str = None) -> list[str]: ''' Filters devices based on reachability and optional OS criteria, supporting nested OS categories. '''