mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Change pipeline.start_locally() default run_pipeline_steps_locally=False
This commit is contained in:
parent
8c6119c13e
commit
2509756ea8
@ -671,14 +671,16 @@ class PipelineController(object):
|
||||
|
||||
return True
|
||||
|
||||
def start_locally(self, run_pipeline_steps_locally=True):
|
||||
def start_locally(self, run_pipeline_steps_locally=False):
|
||||
# type: (bool) -> None
|
||||
"""
|
||||
Start the current pipeline locally, in most cases for debug purposes.
|
||||
By default it will be running the DAG itself locally, as sub-processes.
|
||||
Notice: running the DAG locally assumes the local code execution (i.e. it will not clone & apply git diff)
|
||||
|
||||
:param run_pipeline_steps_locally: If True, run the pipeline steps locally as a subprocess
|
||||
:param run_pipeline_steps_locally: (default False) If True, run the
|
||||
pipeline steps themselves locally as a subprocess (use for debugging the pipeline locally,
|
||||
notice the pipeline code is expected to be available on the local machine)
|
||||
"""
|
||||
if not self._task:
|
||||
raise ValueError(
|
||||
|
Loading…
Reference in New Issue
Block a user