mirror of
https://github.com/langgenius/dify.git
synced 2026-04-15 18:00:26 -04:00
refactor: replace bare dict with typed annotations in core plugin module (#35096)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from collections.abc import Sequence
|
||||
from typing import Any
|
||||
|
||||
from requests import HTTPError
|
||||
|
||||
@@ -263,7 +264,7 @@ class PluginInstaller(BasePluginClient):
|
||||
original_plugin_unique_identifier: str,
|
||||
new_plugin_unique_identifier: str,
|
||||
source: PluginInstallationSource,
|
||||
meta: dict,
|
||||
meta: dict[str, Any],
|
||||
) -> PluginInstallTaskStartResponse:
|
||||
"""
|
||||
Upgrade a plugin.
|
||||
|
||||
Reference in New Issue
Block a user