Skip to content

Commit 50f95a3

Browse files
Line length <100
1 parent 16cbdcd commit 50f95a3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

testcontainers/minio.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
class MinioContainer(DockerContainer):
99
"""
1010
The example below spins up an Minio container and creates a new bucket in it.
11-
Furthermore, it demonstrates how an object is written to this bucket and then subsequently retrieved.
11+
Furthermore, it demonstrates how an object is written to this bucket and
12+
then subsequently retrieved.
1213
The method :code:`get_client` can be used to create a client for the Minio Python API.
1314
The method :code:`get_config` can be used to retrieve the endpoint, access key
1415
and secret key of the container.
@@ -44,9 +45,12 @@ def __init__(
4445
Args:
4546
image (str, optional): The Docker image to use for the Minio container.
4647
Defaults to "minio/minio:RELEASE.2022-12-02T19-19-22Z".
47-
port_to_expose (int, optional): The port to expose on the container. Defaults to 9000.
48-
access_key (str, optional): The access key for client connections. Defaults to "minioadmin".
49-
secret_key (str, optional): The secret key for client connections. Defaults to "minioadmin".
48+
port_to_expose (int, optional): The port to expose on the container.
49+
Defaults to 9000.
50+
access_key (str, optional): The access key for client connections.
51+
Defaults to "minioadmin".
52+
secret_key (str, optional): The secret key for client connections.
53+
Defaults to "minioadmin".
5054
"""
5155
super(MinioContainer, self).__init__(image, **kwargs)
5256
self.port_to_expose = port_to_expose

0 commit comments

Comments
 (0)