From a413d86acab4ab91ee7f66df5b843647518637f4 Mon Sep 17 00:00:00 2001
From: Remi Cresson <remi.cresson@inrae.fr>
Date: Thu, 22 Jun 2023 12:28:55 +0200
Subject: [PATCH 1/2] Add timeout to post request

---
 dinamis_sdk/s3.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dinamis_sdk/s3.py b/dinamis_sdk/s3.py
index e983014..7e842d7 100644
--- a/dinamis_sdk/s3.py
+++ b/dinamis_sdk/s3.py
@@ -485,7 +485,8 @@ def get_signed_urls(
             response = session.post(
                 f"{S3_SIGNING_ENDPOINT}sign_urls",
                 params={"urls": not_signed_urls_chunk},
-                headers=headers
+                headers=headers,
+                timeout=10
             )
             response.raise_for_status()
 
-- 
GitLab


From ff9c7ec921ad058f23e19e3efded023e9412fef5 Mon Sep 17 00:00:00 2001
From: Remi Cresson <remi.cresson@inrae.fr>
Date: Thu, 22 Jun 2023 12:29:05 +0200
Subject: [PATCH 2/2] Bump version

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 43d9d9b..ab3761d 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ install_requires = [
 
 setup(
     name="dinamis-sdk",
-    version="0.0.10",
+    version="0.0.11",
     description="DINAMIS SDK",
     python_requires=">=3.8",
     author="Remi Cresson",
-- 
GitLab