pyworkflow-engine 0.1.19__py3-none-any.whl → 0.1.20__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.
- pyworkflow/__init__.py +1 -1
- pyworkflow/cli/commands/worker.py +2 -13
- {pyworkflow_engine-0.1.19.dist-info → pyworkflow_engine-0.1.20.dist-info}/METADATA +1 -1
- {pyworkflow_engine-0.1.19.dist-info → pyworkflow_engine-0.1.20.dist-info}/RECORD +8 -8
- {pyworkflow_engine-0.1.19.dist-info → pyworkflow_engine-0.1.20.dist-info}/WHEEL +0 -0
- {pyworkflow_engine-0.1.19.dist-info → pyworkflow_engine-0.1.20.dist-info}/entry_points.txt +0 -0
- {pyworkflow_engine-0.1.19.dist-info → pyworkflow_engine-0.1.20.dist-info}/licenses/LICENSE +0 -0
- {pyworkflow_engine-0.1.19.dist-info → pyworkflow_engine-0.1.20.dist-info}/top_level.txt +0 -0
pyworkflow/__init__.py
CHANGED
|
@@ -45,13 +45,6 @@ def worker() -> None:
|
|
|
45
45
|
is_flag=True,
|
|
46
46
|
help="Only process scheduled resumption tasks (pyworkflow.schedules queue)",
|
|
47
47
|
)
|
|
48
|
-
@click.option(
|
|
49
|
-
"--concurrency",
|
|
50
|
-
"-c",
|
|
51
|
-
type=int,
|
|
52
|
-
default=1,
|
|
53
|
-
help="Number of worker processes (default: 1)",
|
|
54
|
-
)
|
|
55
48
|
@click.option(
|
|
56
49
|
"--loglevel",
|
|
57
50
|
"-l",
|
|
@@ -116,7 +109,6 @@ def run_worker(
|
|
|
116
109
|
queue_workflow: bool,
|
|
117
110
|
queue_step: bool,
|
|
118
111
|
queue_schedule: bool,
|
|
119
|
-
concurrency: int | None,
|
|
120
112
|
loglevel: str,
|
|
121
113
|
hostname: str | None,
|
|
122
114
|
beat: bool,
|
|
@@ -144,9 +136,6 @@ def run_worker(
|
|
|
144
136
|
# Start a workflow orchestration worker only
|
|
145
137
|
pyworkflow worker run --workflow
|
|
146
138
|
|
|
147
|
-
# Start a step execution worker (for heavy computation)
|
|
148
|
-
pyworkflow worker run --step --concurrency 4
|
|
149
|
-
|
|
150
139
|
# Start a schedule worker (for sleep resumption)
|
|
151
140
|
pyworkflow worker run --schedule
|
|
152
141
|
|
|
@@ -229,7 +218,8 @@ def run_worker(
|
|
|
229
218
|
if broker_url.startswith("sentinel://") or broker_url.startswith("sentinel+ssl://"):
|
|
230
219
|
print_info(f"Sentinel master: {sentinel_master_name or 'mymaster'}")
|
|
231
220
|
print_info(f"Queues: {', '.join(queues)}")
|
|
232
|
-
|
|
221
|
+
if autoscale:
|
|
222
|
+
print_info(f"Autoscale: {autoscale} (min,max)")
|
|
233
223
|
print_info(f"Pool: {pool}")
|
|
234
224
|
if extra_args:
|
|
235
225
|
print_info(f"Extra args: {' '.join(extra_args)}")
|
|
@@ -283,7 +273,6 @@ def run_worker(
|
|
|
283
273
|
worker_args = [
|
|
284
274
|
"worker",
|
|
285
275
|
f"--loglevel={loglevel.upper()}",
|
|
286
|
-
f"--concurrency={concurrency}", # Always set (default: 1)
|
|
287
276
|
f"--pool={pool}", # Always set (default: prefork)
|
|
288
277
|
]
|
|
289
278
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pyworkflow/__init__.py,sha256=
|
|
1
|
+
pyworkflow/__init__.py,sha256=hvr-rmg5k0kCiTaH29Y-ukxFGMt_Az-mn_Oi3qZGkaA,6281
|
|
2
2
|
pyworkflow/config.py,sha256=pKwPrpCwBJiDpB-MIjM0U7GW1TFmQFO341pihL5-vTM,14455
|
|
3
3
|
pyworkflow/discovery.py,sha256=snW3l4nvY3Nc067TGlwtn_qdzTU9ybN7YPr8FbvY8iM,8066
|
|
4
4
|
pyworkflow/aws/__init__.py,sha256=Ak_xHcR9LTRX-CwcS0XecYmzrXZw4EM3V9aKBBDEmIk,1741
|
|
@@ -20,7 +20,7 @@ pyworkflow/cli/commands/runs.py,sha256=dkAx0WSBLyooD-vUUDPqgrmM3ElFwqO4nycEZGkNq
|
|
|
20
20
|
pyworkflow/cli/commands/scheduler.py,sha256=w2iUoJ1CtEtOg_4TWslTHbzEPVsV-YybqWU9jkf38gs,3706
|
|
21
21
|
pyworkflow/cli/commands/schedules.py,sha256=UCKZLTWsiLwCewCEXmqOVQnptvvuIKsWSTXai61RYbM,23466
|
|
22
22
|
pyworkflow/cli/commands/setup.py,sha256=J-9lvz3m2sZiiLzQtQIfjmX0l8IpJ4L-xp5U4P7UmRY,32256
|
|
23
|
-
pyworkflow/cli/commands/worker.py,sha256=
|
|
23
|
+
pyworkflow/cli/commands/worker.py,sha256=wG9l4fQGeEVSwheuBxc70wxhNxAxCobz0AnWmVdIs3k,14663
|
|
24
24
|
pyworkflow/cli/commands/workflows.py,sha256=zRBFeqCa4Uo_wwEjgk0SBmkqgcaMznS6ghe1N0ub8Zs,42673
|
|
25
25
|
pyworkflow/cli/output/__init__.py,sha256=5VxKL3mXah5rCKmctxcAKVwp42T47qT1oBK5LFVHHEg,48
|
|
26
26
|
pyworkflow/cli/output/formatters.py,sha256=QzsgPR3cjIbH0723wuG_HzUx9xC7XMA6-NkT2y2lwtM,8785
|
|
@@ -86,9 +86,9 @@ pyworkflow/storage/sqlite.py,sha256=qDhFjyFAenwYq6MF_66FFhDaBG7CEr7ni9Uy72X7MvQ,
|
|
|
86
86
|
pyworkflow/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
87
87
|
pyworkflow/utils/duration.py,sha256=C-itmiSQQlplw7j6XB679hLF9xYGnyCwm7twO88OF8U,3978
|
|
88
88
|
pyworkflow/utils/schedule.py,sha256=dO_MkGFyfwZpb0LDlW6BGyZzlPuQIA6dc6j9nk9lc4Y,10691
|
|
89
|
-
pyworkflow_engine-0.1.
|
|
90
|
-
pyworkflow_engine-0.1.
|
|
91
|
-
pyworkflow_engine-0.1.
|
|
92
|
-
pyworkflow_engine-0.1.
|
|
93
|
-
pyworkflow_engine-0.1.
|
|
94
|
-
pyworkflow_engine-0.1.
|
|
89
|
+
pyworkflow_engine-0.1.20.dist-info/licenses/LICENSE,sha256=Y49RCTZ5ayn_yzBcRxnyIFdcMCyuYm150aty_FIznfY,1080
|
|
90
|
+
pyworkflow_engine-0.1.20.dist-info/METADATA,sha256=PBMGEdZ0oBXLKccvpM2NNVB9K6sjJOuc1LvqwKSt82A,19628
|
|
91
|
+
pyworkflow_engine-0.1.20.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
92
|
+
pyworkflow_engine-0.1.20.dist-info/entry_points.txt,sha256=3IGAfuylnS39U0YX0pxnjrj54kB4iT_bNYrmsiDB-dE,51
|
|
93
|
+
pyworkflow_engine-0.1.20.dist-info/top_level.txt,sha256=FLTv9pQmLDBXrQdLOhTMIS3njFibliMsQEfumqmdzBE,11
|
|
94
|
+
pyworkflow_engine-0.1.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|