
    	]j                         d Z ddlmZ ddlmZmZmZmZ ddlm	Z	m
Z
mZmZ ddlmZmZmZmZ ddlmZmZmZmZ ddlmZ dd	Zy
)zThis file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
    )settings   )AzureBlobImportStorageAzureBlobImportStorageLinkAzureBlobExportStorageAzureBlobExportStorageLink)S3ImportStorageS3ImportStorageLinkS3ExportStorageS3ExportStorageLink)GCSImportStorageGCSImportStorageLinkGCSExportStorageGCSExportStorageLink)RedisImportStorageRedisImportStorageLinkRedisExportStorageRedisExportStorageLink)	load_funcc                     t        t        j                        }g } |       D ]9  }||  d   }|j                  |j                  j
                  j                         ; |S )a  Helper function to return all registered ***ImportStorage classes.
    It's been made through the APIViews rather than using models directly to make it consistent with what we expose.
    Note: this func doesn't include LocalFiles storages!
    storage_type: import, export
    	_list_api)r   r   GET_STORAGE_LISTappendserializer_classMetamodel)storage_typestorage_liststorage_classesstorage_declstorage_api_classs        I/root/env/lib/python3.12/site-packages/label_studio/io_storages/models.pyget_storage_classesr#   !   sg     X667LO$ N(L>)CD0AAFFLLMN     N)import)__doc__django.confr   azure_blob.modelsr   r   r   r   	s3.modelsr	   r
   r   r   
gcs.modelsr   r   r   r   redis.modelsr   r   r   r   label_studio.core.utils.commonr   r#    r$   r"   <module>r.      s?          5r$   