Skip to content

Commit 70a008f

Browse files
authored
fix: LEAP-1620: Ignore prefixes for storage url resolving (#6568)
1 parent e4c2721 commit 70a008f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

label_studio/io_storages/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,4 @@ def storage_can_resolve_bucket_url(storage, url) -> bool:
7878
if storage_bucket != uri.bucket:
7979
return False
8080

81-
if storage.prefix and not uri.path.startswith(storage.prefix):
82-
return False
83-
8481
return True

0 commit comments

Comments
 (0)