MinIO reader initialisation #13533
Replies: 1 comment 2 replies
-
It looks like you've encountered an issue with initializing the MinIO reader in the To address this more systematically and avoid local modifications, consider using environment variables or a configuration file to manage these settings. This way, you can keep your codebase clean and maintain the flexibility to adjust configurations without code changes. For example, using environment variables, you can set Both methods allow for a more dynamic configuration and can help you manage different environments or deployment scenarios more effectively. This approach also aligns with the practices seen in other parts of the
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I have difficulties initialising the MinIO reader.
I had to locally modify line 66 to
super().__init__()
. Otherwise, it kept complaining that I need to supply exactly one argument which is thebucket
when I also wanted to supply some of the other arguments, such asminio_endpoint
,minio_access_key
and so on.Am I doing something wrong?
It seems that line 194 of the SimpleDirectoryReader does exactly what I did to line 66 of my local MinIO reader.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions