pybiolib 1.1.1774__py3-none-any.whl → 1.1.1777__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.
@@ -167,7 +167,7 @@ class RemoteHostProxy:
167
167
 
168
168
  if utils.IS_RUNNING_IN_CLOUD:
169
169
  config = CloudUtils.get_webserver_config()
170
- s3_results_bucket_name = config['s3_general_storage_bucket_name'] # pylint: disable=unsubscriptable-object
170
+ s3_results_bucket_name = config['s3_general_storage_bucket_name']
171
171
  s3_results_base_url = f'https://{s3_results_bucket_name}.s3.amazonaws.com'
172
172
  else:
173
173
  if base_url in ('https://biolib.com', 'https://staging-elb.biolib.com'):
@@ -207,6 +207,12 @@ http {{
207
207
  default "";
208
208
  }}
209
209
 
210
+ map $request_method $bearer_token_on_post_and_get {{
211
+ POST "{bearer_token}";
212
+ GET "{bearer_token}";
213
+ default "";
214
+ }}
215
+
210
216
  server {{
211
217
  listen 80;
212
218
  resolver 127.0.0.11 valid=30s;
@@ -283,7 +289,7 @@ http {{
283
289
 
284
290
  location /api/lfs/ {{
285
291
  proxy_pass {base_url}/api/lfs/;
286
- proxy_set_header authorization {'$bearer_token_on_post' if self._can_push_data_record_for_user else '""'};
292
+ proxy_set_header authorization {'$bearer_token_on_post_and_get' if self._can_push_data_record_for_user else '""'};
287
293
  proxy_set_header cookie "";
288
294
  proxy_ssl_server_name on;
289
295
  }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybiolib
3
- Version: 1.1.1774
3
+ Version: 1.1.1777
4
4
  Summary: BioLib Python Client
5
5
  Home-page: https://github.com/biolib
6
6
  License: MIT
@@ -68,7 +68,7 @@ biolib/compute_node/job_worker/large_file_system.py,sha256=XXqRlVtYhs-Ji9zQGIk5K
68
68
  biolib/compute_node/job_worker/mappings.py,sha256=Z48Kg4nbcOvsT2-9o3RRikBkqflgO4XeaWxTGz-CNvI,2499
69
69
  biolib/compute_node/job_worker/utilization_reporter_thread.py,sha256=7tm5Yk9coqJ9VbEdnO86tSXI0iM0omwIyKENxdxiVXk,8575
70
70
  biolib/compute_node/job_worker/utils.py,sha256=wgxcIA8yAhUPdCwyvuuJ0JmreyWmmUoBO33vWtG60xg,1282
71
- biolib/compute_node/remote_host_proxy.py,sha256=SAp8H-mlNLF5njISF6LTXhSnO9-l5KATiABk-06lS8k,14520
71
+ biolib/compute_node/remote_host_proxy.py,sha256=skBwx6LsMsFfypkxpvL-PqgsjCQbUVTUjlXeKc-VkAw,14648
72
72
  biolib/compute_node/socker_listener_thread.py,sha256=T5_UikA3MB9bD5W_dckYLPTgixh72vKUlgbBvj9dbM0,1601
73
73
  biolib/compute_node/socket_sender_thread.py,sha256=YgamPHeUm2GjMFGx8qk-99WlZhEs-kAb3q_2O6qByig,971
74
74
  biolib/compute_node/utils.py,sha256=M7i_WTyxbFM3Lri9RWZ_8FeQNYrQIWpKGLfp2I55oeY,4677
@@ -103,8 +103,8 @@ biolib/utils/cache_state.py,sha256=GaGPxQ1GfrBL6Mzo_HJPpmZCd_CbUDN_l_C5frQ5Sfs,3
103
103
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
104
104
  biolib/utils/seq_util.py,sha256=3BGUppEaR8asFBxktHCrIW0cMmF23b06PsbDQOoeCDQ,4879
105
105
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
106
- pybiolib-1.1.1774.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
107
- pybiolib-1.1.1774.dist-info/METADATA,sha256=u7SMuE5VlzjNVel7PFpY1nUkzI_mCiCHxuGwQmbLkJQ,1508
108
- pybiolib-1.1.1774.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
109
- pybiolib-1.1.1774.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
110
- pybiolib-1.1.1774.dist-info/RECORD,,
106
+ pybiolib-1.1.1777.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
107
+ pybiolib-1.1.1777.dist-info/METADATA,sha256=f64jPn9vmTg73YM_JZ_n7XxnCEzAgBqP-WUz4u8E0M4,1508
108
+ pybiolib-1.1.1777.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
109
+ pybiolib-1.1.1777.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
110
+ pybiolib-1.1.1777.dist-info/RECORD,,