From f55ff2c71a08cc059ac93293f2b074a467ba560e Mon Sep 17 00:00:00 2001 From: Andreas Poehlmann Date: Sun, 13 Oct 2024 21:02:57 -0400 Subject: [PATCH] typing: fix error in kwargs --- upath/_flavour.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upath/_flavour.py b/upath/_flavour.py index 0fa63ed..367038b 100644 --- a/upath/_flavour.py +++ b/upath/_flavour.py @@ -182,7 +182,7 @@ def from_protocol( """return the fsspec flavour for the given protocol""" _c = cls.protocol_config - config = { + config: dict[str, Any] = { "netloc_is_anchor": protocol in _c["netloc_is_anchor"], "supports_empty_parts": protocol in _c["supports_empty_parts"], "meaningful_trailing_slash": protocol in _c["meaningful_trailing_slash"],