From 1f561615a446bdf6eccc37beedd61e635a6a1e19 Mon Sep 17 00:00:00 2001 From: Anton Eriksson Date: Tue, 8 Oct 2024 13:34:46 +0200 Subject: [PATCH] fix type hint --- torchgeo/datamodules/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchgeo/datamodules/utils.py b/torchgeo/datamodules/utils.py index 51a07bcfca..12641a09d6 100644 --- a/torchgeo/datamodules/utils.py +++ b/torchgeo/datamodules/utils.py @@ -171,7 +171,7 @@ def group_shuffle_split( return train_idxs, test_idxs -def get_prefixed_kwargs(prefix: str, **kwargs: dict[str, Any]) -> dict[str, Any]: +def get_prefixed_kwargs(prefix: str, **kwargs: Any) -> Any: """Get kwargs with a specific prefix. Args: