-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
questionFurther information is requestedFurther information is requested
Description
In some packages we provided a method to get the actual path of a file on the backend, which might be useful to navigate to the file or download it directly, e.g. audmodel.url()
.
For the two backends we have at the moment, this can be achieved with (when using an interface that versions files):
FileSystem
:interface.join(interface.backend._root, interface._path_with_version(path, version))
Artifactory
:str(interface.backend.path(interface._path_with_version(path, version)))
This has a few problems though:
- the actual path depends on the used backend and interface, which means it doesn't seem like a good idea to rely on private methods
- their might be backends, where we don't can provide a meaningful URL/root path
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested