Support deleting external artifacts when deleting projects

This commit is contained in:
allegroai
2022-11-29 17:32:41 +02:00
parent 37e485e1f2
commit bfb55a9463
4 changed files with 25 additions and 9 deletions

View File

@@ -273,6 +273,7 @@ def validate_delete(call: APICall, company_id: str, request: ProjectRequest):
def delete(call: APICall, company_id: str, request: DeleteRequest):
res, affected_projects = delete_project(
company=company_id,
user=call.identity.user,
project_id=request.project,
force=request.force,
delete_contents=request.delete_contents,