Skip to content

Commit 4e65ec2

Browse files
Set default value for args in Scheduler.add()
1 parent 99b47ad commit 4e65ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheduler/Scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def add_process(self, process: Process, queue: Queue, subtasks: int = 0) -> None
114114
def add(
115115
self,
116116
target: Callable,
117-
args: tuple,
117+
args: tuple = (),
118118
subtasks: int = 0,
119119
process_type: Type = multiprocessing.Process,
120120
queue_type: Type = multiprocessing.Queue,

0 commit comments

Comments
 (0)