prefect-client 3.0.0rc6__py3-none-any.whl → 3.0.0rc7__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.
- prefect/task_runners.py +2 -1
- {prefect_client-3.0.0rc6.dist-info → prefect_client-3.0.0rc7.dist-info}/METADATA +1 -1
- {prefect_client-3.0.0rc6.dist-info → prefect_client-3.0.0rc7.dist-info}/RECORD +6 -6
- {prefect_client-3.0.0rc6.dist-info → prefect_client-3.0.0rc7.dist-info}/LICENSE +0 -0
- {prefect_client-3.0.0rc6.dist-info → prefect_client-3.0.0rc7.dist-info}/WHEEL +0 -0
- {prefect_client-3.0.0rc6.dist-info → prefect_client-3.0.0rc7.dist-info}/top_level.txt +0 -0
prefect/task_runners.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import abc
|
2
2
|
import asyncio
|
3
|
+
import sys
|
3
4
|
import uuid
|
4
5
|
from concurrent.futures import ThreadPoolExecutor
|
5
6
|
from contextvars import copy_context
|
@@ -205,7 +206,7 @@ class ThreadPoolTaskRunner(TaskRunner[PrefectConcurrentFuture]):
|
|
205
206
|
def __init__(self, max_workers: Optional[int] = None):
|
206
207
|
super().__init__()
|
207
208
|
self._executor: Optional[ThreadPoolExecutor] = None
|
208
|
-
self._max_workers = max_workers
|
209
|
+
self._max_workers = sys.maxsize if max_workers is None else max_workers
|
209
210
|
|
210
211
|
def duplicate(self) -> "ThreadPoolTaskRunner":
|
211
212
|
return type(self)(max_workers=self._max_workers)
|
@@ -21,7 +21,7 @@ prefect/serializers.py,sha256=8ON--RmaLX3Td3Rpd1lshGcqWyjlCFkmO3sblxsdT_c,8699
|
|
21
21
|
prefect/settings.py,sha256=JkCgcFO7Zw0Kv_azK9XLabx08ypVgL76E6r8nD-HZLM,74598
|
22
22
|
prefect/states.py,sha256=JdN01UMYFelFybPoAEKbiPJNuPaj6pksLJ3o0_oNz5Q,20690
|
23
23
|
prefect/task_engine.py,sha256=wGN-jFfiLROth8pA8be9Y9_ghi5VS3T2Zpu4ZxTtHSk,32519
|
24
|
-
prefect/task_runners.py,sha256=
|
24
|
+
prefect/task_runners.py,sha256=fjOWg2-ds_bE-x5O5Eshr25IS7EMxcEvo7NSmRRtdm8,11920
|
25
25
|
prefect/task_runs.py,sha256=eDWYH5H1K4SyduhKmn3GzO6vM3fZSwOZxAb8KhkMGsk,7798
|
26
26
|
prefect/task_worker.py,sha256=iawQZn4hNcrXR-CHtM4jzhlnotqeNHiRuHc-eumJ9Oc,16788
|
27
27
|
prefect/tasks.py,sha256=rA7FAqcb58hwhrju7ocxL-e982vXEKx86Zl8G-LYcQY,60300
|
@@ -179,8 +179,8 @@ prefect/workers/base.py,sha256=62E0Q41pPr3eQdSBSUBfiR4WYx01OfuqUp5INRqHGgo,46942
|
|
179
179
|
prefect/workers/process.py,sha256=vylkSSswaSCew-V65YW0HcxIxyKI-uqWkbSKpkkLamQ,9372
|
180
180
|
prefect/workers/server.py,sha256=EfPiMxI7TVgkqpHkdPwSaYG-ydi99sG7jwXhkAcACbI,1519
|
181
181
|
prefect/workers/utilities.py,sha256=VfPfAlGtTuDj0-Kb8WlMgAuOfgXCdrGAnKMapPSBrwc,2483
|
182
|
-
prefect_client-3.0.
|
183
|
-
prefect_client-3.0.
|
184
|
-
prefect_client-3.0.
|
185
|
-
prefect_client-3.0.
|
186
|
-
prefect_client-3.0.
|
182
|
+
prefect_client-3.0.0rc7.dist-info/LICENSE,sha256=MCxsn8osAkzfxKC4CC_dLcUkU8DZLkyihZ8mGs3Ah3Q,11357
|
183
|
+
prefect_client-3.0.0rc7.dist-info/METADATA,sha256=XGHFsFT4rRszItqxIOYgPy9KGgecgj7YZSVN0tZB-OE,7392
|
184
|
+
prefect_client-3.0.0rc7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
185
|
+
prefect_client-3.0.0rc7.dist-info/top_level.txt,sha256=MJZYJgFdbRc2woQCeB4vM6T33tr01TmkEhRcns6H_H4,8
|
186
|
+
prefect_client-3.0.0rc7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|