From 5990f434445b62f49521cfba6fdc75ced019a974 Mon Sep 17 00:00:00 2001 From: Caleb Date: Thu, 26 Dec 2024 09:39:11 -0500 Subject: [PATCH] more narrow annotation --- src/middlewared/middlewared/plugins/zfs_/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewared/middlewared/plugins/zfs_/utils.py b/src/middlewared/middlewared/plugins/zfs_/utils.py index ce697a9523602..04d505155a71d 100644 --- a/src/middlewared/middlewared/plugins/zfs_/utils.py +++ b/src/middlewared/middlewared/plugins/zfs_/utils.py @@ -313,7 +313,7 @@ def iter_datasets(out, datasets_in, batch_ops): def paths_to_datasets_impl( paths: list[str], mntinfo: dict | None = None -) -> dict | dict[str, str]: +) -> dict | dict[str, str | None]: """ Convert `paths` to a dictionary of ZFS dataset names. This performs lookup through mountinfo.