From a1b55c99514425b672fb96fe7695108220eca675 Mon Sep 17 00:00:00 2001 From: Payton <72841140+paytonward6@users.noreply.github.com> Date: Fri, 29 Dec 2023 22:12:52 -0600 Subject: [PATCH] Update docs for cert_check flag (#1385) --- docs/API.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/API.md b/docs/API.md index f34b7f74a..d069e392e 100644 --- a/docs/API.md +++ b/docs/API.md @@ -17,6 +17,7 @@ __Parameters__ | `region` | _str_ | (Optional) Region name of buckets in S3 service. | | `http_client` | _urllib3.poolmanager.PoolManager_ | (Optional) Customized HTTP client. | | `credentials` | _minio.credentials.Provider_ | (Optional) Credentials provider of your account in S3 service. | +| `cert_check` | _bool_ | (Optional) Flag to check on server certificate for HTTPS connection. | **NOTE on concurrent usage:** `Minio` object is thread safe when using the Python `threading` library. Specifically, it is **NOT** safe to share it between multiple processes, for example when using `multiprocessing.Pool`. The solution is simply to create a new `Minio` object in each process, and not share it between processes.