1
0
mirror of https://github.com/clearml/clearml synced 2025-04-21 23:04:42 +00:00

Fix StorageHelper.delete() does not respect path substitutions ()

Fixes 
Make StorageHelper.get_object() call StorageHelper._canonized_url() to make path substitutions work.
This commit is contained in:
john-zielke-snkeos 2022-12-06 13:26:05 +01:00 committed by GitHub
parent 59b5dd6394
commit e709e46d91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1193,6 +1193,7 @@ class StorageHelper(object):
:return: The remote object
"""
path = self._canonize_url(path)
object_name = self._normalize_object_name(path)
try:
return self._driver.get_object(