mirror of
https://github.com/clearml/clearml-server
synced 2025-02-12 07:38:28 +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_message: str,
|
||||||
status_reason: str,
|
status_reason: str,
|
||||||
delete_external_artifacts: bool,
|
delete_external_artifacts: bool,
|
||||||
include_pipeline_steps: bool = False,
|
include_pipeline_steps: bool,
|
||||||
) -> Tuple[int, Task, CleanupResult]:
|
) -> Tuple[int, Task, CleanupResult]:
|
||||||
user_id = identity.user
|
user_id = identity.user
|
||||||
task = get_task_with_write_access(
|
task = get_task_with_write_access(
|
||||||
@ -518,7 +518,7 @@ def stop_task(
|
|||||||
user_name: str,
|
user_name: str,
|
||||||
status_reason: str,
|
status_reason: str,
|
||||||
force: bool,
|
force: bool,
|
||||||
include_pipeline_steps: bool = False,
|
include_pipeline_steps: bool,
|
||||||
) -> dict:
|
) -> dict:
|
||||||
"""
|
"""
|
||||||
Stop a running task. Requires task status 'in_progress' and
|
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_message="",
|
||||||
status_reason="Pipeline run deleted",
|
status_reason="Pipeline run deleted",
|
||||||
delete_external_artifacts=True,
|
delete_external_artifacts=True,
|
||||||
|
include_pipeline_steps=True,
|
||||||
),
|
),
|
||||||
ids=list(ids),
|
ids=list(ids),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user