mirror of https://github.com/langgenius/dify.git
refactor(plugin_migration): improve code readability by formatting the install function signature
This commit is contained in:
parent
61f2f8fd31
commit
1f5fd13359
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue