Skip to content

Commit

Permalink
_from_parsed_parts
Browse files Browse the repository at this point in the history
  • Loading branch information
normanrz committed Oct 19, 2023
1 parent ddb0fc9 commit d58326d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions upath/implementations/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit d58326d

Please sign in to comment.