From 6202822d78dc50fd397d0bf3a497a89398e405f6 Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Fri, 11 Oct 2024 07:22:27 +0200 Subject: [PATCH] Update models.py --- .../api/elixircloud/csh/models.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/cloud_storage_handler/api/elixircloud/csh/models.py b/cloud_storage_handler/api/elixircloud/csh/models.py index 0e88564..7ba8fb5 100644 --- a/cloud_storage_handler/api/elixircloud/csh/models.py +++ b/cloud_storage_handler/api/elixircloud/csh/models.py @@ -8,17 +8,14 @@ class MinioConfig(BaseModel): """Configuration for MinIO. - Attributes: - hostname: The hostname where the MinIO server is running. - Defaults to 'localhost'. - port: The port on which the MinIO server is running. - Must be between 1 and 65535. Defaults to 9000. + Attributes: + hostname: The name of the host where the MinIO server is running. + port: The port on which the MinIO server is running. Must be between 1 + and 65535. access_key: The access key used for authentication with MinIO. - Defaults to 'minioadmin'. secret_key: The secret key used for authentication with MinIO. - Defaults to 'minioadmin'. - bucket_name: The name of the bucket where files are stored. - Must be at least 1 character long. Defaults to 'files'. + bucket_name: The name of the bucket where files are stored. Must be at + least 1 character long. Examples: MinioConfig(