PipelineRunner: argument ordering
This commit is contained in:
@@ -36,18 +36,18 @@ class PipelineRunner(BaseObject):
|
|||||||
*,
|
*,
|
||||||
name: Optional[str] = None,
|
name: Optional[str] = None,
|
||||||
handle_sigint: bool = True,
|
handle_sigint: bool = True,
|
||||||
|
handle_sigterm: bool = False,
|
||||||
force_gc: bool = False,
|
force_gc: bool = False,
|
||||||
loop: Optional[asyncio.AbstractEventLoop] = None,
|
loop: Optional[asyncio.AbstractEventLoop] = None,
|
||||||
handle_sigterm: bool = False,
|
|
||||||
):
|
):
|
||||||
"""Initialize the pipeline runner.
|
"""Initialize the pipeline runner.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
name: Optional name for the runner instance.
|
name: Optional name for the runner instance.
|
||||||
handle_sigint: Whether to automatically handle SIGINT signals.
|
handle_sigint: Whether to automatically handle SIGINT signals.
|
||||||
|
handle_sigterm: Whether to automatically handle SIGTERM signals.
|
||||||
force_gc: Whether to force garbage collection after task completion.
|
force_gc: Whether to force garbage collection after task completion.
|
||||||
loop: Event loop to use. If None, uses the current running loop.
|
loop: Event loop to use. If None, uses the current running loop.
|
||||||
handle_sigterm: Whether to automatically handle SIGTERM signals.
|
|
||||||
"""
|
"""
|
||||||
super().__init__(name=name)
|
super().__init__(name=name)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user