Skip to content

Commit 76372a1

Browse files
committed
Bump version to 0.9.12.3; enable dynamic execution in PipelineManager and streamline executor handling
1 parent 40b7dbf commit 76372a1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "A simple workflow framework. Hamilton + APScheduler = FlowerPower
44
authors = [{ name = "Volker L.", email = "[email protected]" }]
55
readme = "README.md"
66
requires-python = ">= 3.11"
7-
version = "0.9.12.2"
7+
version = "0.9.12.3"
88
keywords = ["hamilton", "workflow", "pipeline", "scheduler", "apscheduler", "dask", "ray"]
99
dependencies = [
1010
'aiobotocore<2.18.0',

src/flowerpower/pipeline.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,15 @@ def _get_driver(
255255

256256
dr = (
257257
driver.Builder()
258+
.enable_dynamic_execution(allow_experimental_mode=True)
258259
.with_modules(self._module)
259260
.with_config(config)
260261
.with_local_executor(executors.SynchronousLocalTaskExecutor())
261262
)
262263

263264
if executor_ is not None:
264265

265-
dr = dr.enable_dynamic_execution(
266-
allow_experimental_mode=True
267-
).with_remote_executor(executor_)
266+
dr = dr.with_remote_executor(executor_)
268267

269268
if len(adapters):
270269
dr = dr.with_adapters(*adapters)

0 commit comments

Comments
 (0)