feat: support delete all install tasks

This commit is contained in:
Yeuoly
2024-11-25 17:11:41 +08:00
parent 965fabd578
commit ba3659a792
3 changed files with 35 additions and 0 deletions

View File

@ -105,6 +105,16 @@ class PluginService:
manager = PluginInstallationManager()
return manager.delete_plugin_installation_task(tenant_id, task_id)
@staticmethod
def delete_all_install_task_items(
tenant_id: str,
) -> bool:
"""
Delete all plugin installation task items
"""
manager = PluginInstallationManager()
return manager.delete_all_plugin_installation_task_items(tenant_id)
@staticmethod
def delete_install_task_item(tenant_id: str, task_id: str, identifier: str) -> bool:
"""