pybiolib 1.2.221__py3-none-any.whl → 1.2.223__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,6 +1,6 @@
1
- from enum import Enum
2
1
  import random
3
2
  import string
3
+ from enum import Enum
4
4
 
5
5
  from biolib.biolib_logging import logger
6
6
 
@@ -29,7 +29,7 @@ def get_package_type(package):
29
29
  return 'StdoutAndStderr'
30
30
 
31
31
  else:
32
- raise Exception(f"Unexpected package type {package_type}")
32
+ raise Exception(f'Unexpected package type {package_type}')
33
33
 
34
34
 
35
35
  class SystemExceptionCodes(Enum):
@@ -68,6 +68,8 @@ class SystemExceptionCodes(Enum):
68
68
  FAILED_TO_ALLOCATE_JOB_TO_COMPUTE_NODE = 32
69
69
  NO_MODULES_FOUND_ON_JOB = 33
70
70
  FAILED_TO_INITIALIZE_DOCKER_EXECUTOR = 34
71
+ COMPUTE_NODE_SHUTDOWN = 35
72
+ COMPUTE_NODE_SHUTDOWN_DUE_TO_HEALTH_CHECK_FAILURE = 36
71
73
 
72
74
 
73
75
  SystemExceptionCodeMap = {
@@ -106,6 +108,8 @@ SystemExceptionCodeMap = {
106
108
  32: 'Failed to allocate job to compute node',
107
109
  33: 'No modules found on job',
108
110
  34: 'Failed to initialize docker executor',
111
+ 35: 'Compute node shutdown',
112
+ 36: 'Compute node shutdown due to health check failure',
109
113
  }
110
114
 
111
115
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybiolib
3
- Version: 1.2.221
3
+ Version: 1.2.223
4
4
  Summary: BioLib Python Client
5
5
  Home-page: https://github.com/biolib
6
6
  License: MIT
@@ -93,7 +93,7 @@ biolib/compute_node/job_worker/utils.py,sha256=wgxcIA8yAhUPdCwyvuuJ0JmreyWmmUoBO
93
93
  biolib/compute_node/remote_host_proxy.py,sha256=1EZnB0WWG359Yy22xBoqRqGEmmlA12rpiG5u8B2381M,16533
94
94
  biolib/compute_node/socker_listener_thread.py,sha256=T5_UikA3MB9bD5W_dckYLPTgixh72vKUlgbBvj9dbM0,1601
95
95
  biolib/compute_node/socket_sender_thread.py,sha256=YgamPHeUm2GjMFGx8qk-99WlZhEs-kAb3q_2O6qByig,971
96
- biolib/compute_node/utils.py,sha256=M7i_WTyxbFM3Lri9RWZ_8FeQNYrQIWpKGLfp2I55oeY,4677
96
+ biolib/compute_node/utils.py,sha256=fWtFIcGatek1NaVOT9Vaey6UFp8GKLYGLAVu8jgOwi8,4861
97
97
  biolib/compute_node/webserver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
98
98
  biolib/compute_node/webserver/gunicorn_flask_application.py,sha256=jPfR_YvNBekLUXWo_vHFV-FIwlb8s8tacKmGHvh93qc,914
99
99
  biolib/compute_node/webserver/webserver.py,sha256=o4kOAStsqThUtKlnRE-U5TP0JIYntuySDjU7PH310xg,6620
@@ -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.221.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
124
- pybiolib-1.2.221.dist-info/METADATA,sha256=8NVC3cqB7FxyvdBVvQdS0uwnAYGGFfMIzyTssOX9CHk,1558
125
- pybiolib-1.2.221.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
126
- pybiolib-1.2.221.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
127
- pybiolib-1.2.221.dist-info/RECORD,,
123
+ pybiolib-1.2.223.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
124
+ pybiolib-1.2.223.dist-info/METADATA,sha256=hZM7P1p0YB5LlIem0gje4vnfobOPyQ8bss7gST75qgs,1558
125
+ pybiolib-1.2.223.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
126
+ pybiolib-1.2.223.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
127
+ pybiolib-1.2.223.dist-info/RECORD,,