Spaces:
Configuration error
Configuration error
# minio_utils.py | |
from minio import Minio | |
from django.conf import settings | |
def get_minio_client(): | |
return Minio( | |
settings.MINIO_ENDPOINT, | |
access_key=settings.MINIO_ACCESS_KEY, | |
secret_key=settings.MINIO_SECRET_KEY, | |
secure=settings.MINIO_SECURE | |
) | |