chainlit
chainlit copied to clipboard
storage_clients wrong dependencies import
trafficstars
Describe the bug
Using dynamoDB requires to import the S3 storage client: from chainlit.data.storage_clients import S3StorageClient this package requires both boto3 and azure dependencies. It would be better to separate these 2 packages in order to use only the needed dependencies
To Reproduce Steps to reproduce the behavior:
- do not install Azure in your environment
- import
from chainlit.data.storage_clients import S3StorageClient - get import error
Expected behavior Be succesful since Azure is not needed for S3 (and viceversa the AzureStorageClient does not need boto3)
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context