File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ def get_client(self, **kwargs) -> Minio:
36
36
"""Returns a Minio client to connect to the container.
37
37
38
38
Returns:
39
- Minio: Python Minio Client according to https://min.io/docs/minio/linux/developers/python/API.html
39
+ Minio: Python Minio Client according to
40
+ https://min.io/docs/minio/linux/developers/python/API.html
40
41
"""
41
42
return Minio (
42
43
f"{ self .get_container_host_ip ()} :{ self .get_exposed_port (self .port_to_expose )} " ,
@@ -53,7 +54,8 @@ def get_config(self) -> MinioConfig:
53
54
MinioConfig: Dictionary with the endpoint, access_key and secret_key.
54
55
"""
55
56
return {
56
- "endpoint" : f"{ self .get_container_host_ip ()} :{ self .get_exposed_port (self .port_to_expose )} " ,
57
+ "endpoint" : f"{ self .get_container_host_ip ()} " +
58
+ f":{ self .get_exposed_port (self .port_to_expose )} " ,
57
59
"access_key" : self .access_key ,
58
60
"secret_key" : self .secret_key ,
59
61
}
You can’t perform that action at this time.
0 commit comments