Skip to content

Commit

Permalink
typing: fix error in kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- committed Oct 14, 2024
1 parent 4759875 commit f55ff2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upath/_flavour.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit f55ff2c

Please sign in to comment.