feat: support remove single item from installation task

This commit is contained in:
Yeuoly
2024-10-25 13:22:37 +08:00
parent 99c8f364ae
commit ffdc6f5c60
3 changed files with 30 additions and 0 deletions

View File

@ -66,6 +66,11 @@ class PluginService:
manager = PluginInstallationManager()
return manager.delete_plugin_installation_task(tenant_id, task_id)
@staticmethod
def delete_install_task_item(tenant_id: str, task_id: str, identifier: str) -> bool:
manager = PluginInstallationManager()
return manager.delete_plugin_installation_task_item(tenant_id, task_id, identifier)
@staticmethod
def upload_pkg(tenant_id: str, pkg: bytes, verify_signature: bool = False) -> PluginUploadResponse:
"""