refactor(plugin_migration): improve code readability by formatting the install function signature

This commit is contained in:
Harry 2025-08-26 16:03:06 +08:00
parent 61f2f8fd31
commit 1f5fd13359
1 changed files with 3 additions and 1 deletions

View File

@ -440,7 +440,9 @@ class PluginMigration:
if response.get("failed"):
plugin_install_failed.extend(response.get("failed", []))
def install(tenant_id: str, plugin_ids: dict[str, str], total_success_tenant: int, total_failed_tenant: int) -> None:
def install(
tenant_id: str, plugin_ids: dict[str, str], total_success_tenant: int, total_failed_tenant: int
) -> None:
logger.info("Installing %s plugins for tenant %s", len(plugin_ids), tenant_id)
try:
# fetch plugin already installed