mirror of
https://github.com/clearml/clearml-server
synced 2025-02-07 05:27:23 +00:00
Delete pipeline steps in pipelines.delete_runs
This commit is contained in:
parent
3f34f83a91
commit
14547155cb
@ -299,7 +299,7 @@ def delete_task(
|
||||
status_message: str,
|
||||
status_reason: str,
|
||||
delete_external_artifacts: bool,
|
||||
include_pipeline_steps: bool = False,
|
||||
include_pipeline_steps: bool,
|
||||
) -> Tuple[int, Task, CleanupResult]:
|
||||
user_id = identity.user
|
||||
task = get_task_with_write_access(
|
||||
@ -518,7 +518,7 @@ def stop_task(
|
||||
user_name: str,
|
||||
status_reason: str,
|
||||
force: bool,
|
||||
include_pipeline_steps: bool = False,
|
||||
include_pipeline_steps: bool,
|
||||
) -> dict:
|
||||
"""
|
||||
Stop a running task. Requires task status 'in_progress' and
|
||||
|
@ -67,6 +67,7 @@ def delete_runs(call: APICall, company_id: str, request: DeleteRunsRequest):
|
||||
status_message="",
|
||||
status_reason="Pipeline run deleted",
|
||||
delete_external_artifacts=True,
|
||||
include_pipeline_steps=True,
|
||||
),
|
||||
ids=list(ids),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user