diff --git a/upath/implementations/local.py b/upath/implementations/local.py index d4ccf186..9b56039b 100644 --- a/upath/implementations/local.py +++ b/upath/implementations/local.py @@ -64,15 +64,15 @@ def _from_parts(cls, args, *, url=None, **kw): return obj @classmethod - def _format_parsed_parts( + def _from_parsed_parts( cls, drv, root, parts, url=None, **kwargs: Any, - ) -> str: - obj = super(UPath, cls)._format_parsed_parts(drv, root, parts) + ): + obj = super(UPath, cls)._from_parsed_parts(drv, root, parts) obj._kwargs = {} obj._url = SplitResult("", "", str(obj), "", "") return obj @@ -105,15 +105,15 @@ def _from_parts(cls, args, *, url=None, **kw): return obj @classmethod - def _format_parsed_parts( + def _from_parsed_parts( cls, drv, root, parts, url=None, **kwargs: Any, - ) -> str: - obj = super(UPath, cls)._format_parsed_parts(drv, root, parts) + ): + obj = super(UPath, cls)._from_parsed_parts(drv, root, parts) obj._kwargs = {} obj._url = SplitResult("", "", str(obj), "", "") return obj