The path property of a repository object is an ArtifactioryPath to the repository.
The str representation of this object is correct, but it seems like the parts property is missing the repository itself.
This ends up being confusing because while it looks correct as a string or repr, many other methods use the parts, for example if you used this to construct a new ArtifactoryPath.
The
path
property of a repository object is anArtifactioryPath
to the repository. Thestr
representation of this object is correct, but it seems like theparts
property is missing the repository itself.This ends up being confusing because while it looks correct as a string or repr, many other methods use the parts, for example if you used this to construct a new
ArtifactoryPath
.I will try to demonstrate with some sample code:
We can workaround this by casting to
str
and back to a path object: