Skip to content

S3Path Relative_to returns itself #184

Open
@AlexBondViv

Description

@AlexBondViv

In 0.1.4 S3Path.relative_to would return a path relative to another path

i.e:
UPath("s3://bucket/delta/db/table").relative_to(UPath("s3://bucket/delta/")) == UPath("s3://bucket/db/table")

However in 0.2.0 it seems that relative_to() simply returns itself as UPath("s3://bucket/delta/db/table").relative_to(UPath("s3://bucket/delta/")) returns UPath("s3://bucket/delta/db/table").

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions