Hey everyone,
when importing the MinioDriver by
from cloudstorage.drivers.minio import MinioDriver
the following error occurs:
from minio import Minio, PostPolicy, definitions
ImportError: cannot import name 'PostPolicy' from 'minio'
Apparently the underlying minio library changed, I guess. Both PostPolicy and definitions throw an ImportError. I was able to fix the first import by changing the import to from minio.datatypes import PostPolicy. definitions is still an open topic,
Hey everyone,
when importing the MinioDriver by
from cloudstorage.drivers.minio import MinioDriverthe following error occurs:
Apparently the underlying
miniolibrary changed, I guess. BothPostPolicyanddefinitionsthrow an ImportError. I was able to fix the first import by changing the import tofrom minio.datatypes import PostPolicy.definitionsis still an open topic,