Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: LEAP-1023: Fix misspelled LocalFilesImportStorageLink in remove_duplicates #5758

Merged
merged 4 commits into from
Apr 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions label_studio/data_manager/actions/remove_duplicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from data_manager.actions.basic import delete_tasks
from io_storages.azure_blob.models import AzureBlobImportStorageLink
from io_storages.gcs.models import GCSImportStorageLink
from io_storages.localfiles.models import LocalFilesImportStorage
from io_storages.localfiles.models import LocalFilesImportStorageLink
from io_storages.s3.models import S3ImportStorageLink
from tasks.models import Task

Expand Down Expand Up @@ -135,7 +135,7 @@ def restore_storage_links_for_duplicated_tasks(duplicates) -> None:
'io_storages_s3importstoragelink': S3ImportStorageLink,
'io_storages_gcsimportstoragelink': GCSImportStorageLink,
'io_storages_azureblobimportstoragelink': AzureBlobImportStorageLink,
'io_storages_localfilesimportstoragelink': LocalFilesImportStorage,
'io_storages_localfilesimportstoragelink': LocalFilesImportStorageLink,
# 'io_storages_redisimportstoragelink',
# 'lse_io_storages_lses3importstoragelink' # not supported yet
}
Expand Down