mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 15:08:06 +08:00
fix: ruff format
This commit is contained in:
@ -15,10 +15,7 @@ class PluginAssetManager(BasePluginClient):
|
||||
response = self._request(
|
||||
method="GET",
|
||||
path=f"plugin/{tenant_id}/extract-asset/",
|
||||
params={
|
||||
"plugin_unique_identifier": plugin_unique_identifier,
|
||||
"file_path": filename
|
||||
}
|
||||
params={"plugin_unique_identifier": plugin_unique_identifier, "file_path": filename},
|
||||
)
|
||||
if response.status_code != 200:
|
||||
raise ValueError(f"can not found asset {plugin_unique_identifier}, {str(response.status_code)}")
|
||||
|
||||
@ -34,8 +34,8 @@ class PluginInstaller(BasePluginClient):
|
||||
params={
|
||||
"tenant_id": tenant_id,
|
||||
"plugin_unique_identifier": plugin_unique_identifier,
|
||||
"language": language
|
||||
}
|
||||
"language": language,
|
||||
},
|
||||
)
|
||||
return response.content
|
||||
except HTTPError as e:
|
||||
|
||||
Reference in New Issue
Block a user