Skip to content

Commit 0577538

Browse files
committed
Bump version to 0.9.9.29; update executor handling in PipelineManager to allow empty string as a valid executor option
1 parent 9c5807f commit 0577538

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
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.9.28"
7+
version = "0.9.9.29"
88
keywords = ["hamilton", "workflow", "pipeline", "scheduler", "apscheduler", "dask", "ray"]
99
dependencies = [
1010
'aiobotocore<2.18.0',

src/flowerpower/pipeline.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,10 @@ def run_job(
432432
kwargs=kwargs,
433433
job_executor=(
434434
executor
435-
if executor in ["async", "threadpool", "processpool", None]
435+
if executor in ["async", "threadpool", "processpool", ""]
436436
else "threadpool"
437437
if executor == "future_adapter"
438-
else None
438+
else "threadpool"
439439
),
440440
)
441441

@@ -513,10 +513,10 @@ def add_job(
513513
kwargs=kwargs,
514514
job_executor=(
515515
executor
516-
if executor in ["async", "threadpool", "processpool", None]
516+
if executor in ["async", "threadpool", "processpool", ""]
517517
else "threadpool"
518518
if executor == "future_adapter"
519-
else None
519+
else "threadpool"
520520
),
521521
result_expiration_time=result_expiration_time,
522522
)
@@ -657,10 +657,10 @@ def _get_id() -> str:
657657
kwargs=kwargs,
658658
job_executor=(
659659
executor
660-
if executor in ["async", "threadpool", "processpool", None]
660+
if executor in ["async", "threadpool", "processpool", ""]
661661
else "threadpool"
662662
if executor == "future_adapter"
663-
else None
663+
else "threadpool"
664664
),
665665
**schedule_kwargs,
666666
)

0 commit comments

Comments
 (0)