pybiolib 1.2.185__py3-none-any.whl → 1.2.187.dev1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ import http.client
1
2
  import json
2
3
  import platform
3
4
  import shutil
@@ -130,9 +131,16 @@ class HttpClient:
130
131
  last_error = error
131
132
  else:
132
133
  raise error
134
+
133
135
  except socket.timeout as error:
134
136
  if retry_count > 0:
135
137
  logger_no_user_data.warning(f'HTTP {method} request failed with read timeout for "{url}"')
136
138
  last_error = error
137
139
 
140
+ except http.client.IncompleteRead as error:
141
+ logger_no_user_data.warning(
142
+ f'HTTP {method} request failed with incomplete read for "{url}": {repr(error)}'
143
+ )
144
+ last_error = error
145
+
138
146
  raise last_error or Exception(f'HTTP {method} request failed after {retries} retries for "{url}"')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybiolib
3
- Version: 1.2.185
3
+ Version: 1.2.187.dev1
4
4
  Summary: BioLib Python Client
5
5
  Home-page: https://github.com/biolib
6
6
  License: MIT
@@ -10,7 +10,7 @@ biolib/_internal/data_record/remote_storage_endpoint.py,sha256=eCptuZ4DMAPnaNCVD
10
10
  biolib/_internal/file_utils.py,sha256=4jT6j7bB21c0JNn5BfnyWQib_zt0CVtJ_TiOFOStRcE,2604
11
11
  biolib/_internal/fuse_mount/__init__.py,sha256=B_tM6RM2dBw-vbpoHJC4X3tOAaN1H2RDvqYJOw3xFwg,55
12
12
  biolib/_internal/fuse_mount/experiment_fuse_mount.py,sha256=08aUdEq_bvqLBft_gSLjOClKDy5sBnMts1RfJf7AP_U,7012
13
- biolib/_internal/http_client.py,sha256=Q7z7_DMI1EaVJSyevrra63piuee-NfqcAHRtQt76ZdA,5165
13
+ biolib/_internal/http_client.py,sha256=Q8tUvXL9rxTrPgNxoI8VGTGI8-AgF2ZF0___s8kCGkY,5440
14
14
  biolib/_internal/lfs/__init__.py,sha256=gSWo_xg61UniYgD7yNYxeT4I9uaXBCBSi3_nmZjnPpE,35
15
15
  biolib/_internal/lfs/cache.py,sha256=pQS2np21rdJ6I3DpoOutnzPHpLOZgUIS8TMltUJk_k4,2226
16
16
  biolib/_internal/libs/__init__.py,sha256=Jdf4tNPqe_oIIf6zYml6TiqhL_02Vyqwge6IELrAFhw,98
@@ -120,8 +120,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
120
120
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
121
121
  biolib/utils/seq_util.py,sha256=Ozk0blGtPur_D9MwShD02r_mphyQmgZkx-lOHOwnlIM,6730
122
122
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
123
- pybiolib-1.2.185.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
124
- pybiolib-1.2.185.dist-info/METADATA,sha256=w5HriVQbhkj18ygLUdI5dp3UfAp7Nb5EeUoOAXw9DOg,1507
125
- pybiolib-1.2.185.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
126
- pybiolib-1.2.185.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
127
- pybiolib-1.2.185.dist-info/RECORD,,
123
+ pybiolib-1.2.187.dev1.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
124
+ pybiolib-1.2.187.dev1.dist-info/METADATA,sha256=1jDKR3ikbL1cZDkDdIae1khC_DMoga9CL-7gi4rFMdM,1512
125
+ pybiolib-1.2.187.dev1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
126
+ pybiolib-1.2.187.dev1.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
127
+ pybiolib-1.2.187.dev1.dist-info/RECORD,,