Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
triklozoid committed Oct 18, 2024
1 parent 0301877 commit 3db788a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion label_studio/io_storages/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_uri_via_regex(data, prefixes=('s3', 'gs')) -> tuple[Union[str, None], Un
return r_match.group('uri'), r_match.group('storage')


def parse_bucket_uri(value: object, storage) -> BucketURI | None:
def parse_bucket_uri(value: object, storage) -> Union[BucketURI, None]:
if not value:
return None

Expand Down

0 comments on commit 3db788a

Please sign in to comment.