mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 01:26:33 +08:00
fix: ruff check
This commit is contained in:
parent
4221e99362
commit
eecbe533a1
@ -253,6 +253,7 @@ class CredentialType(enum.StrEnum):
|
|||||||
else:
|
else:
|
||||||
raise ValueError(f"Invalid credential type: {credential_type}")
|
raise ValueError(f"Invalid credential type: {credential_type}")
|
||||||
|
|
||||||
|
|
||||||
class PluginReadmeResponse(BaseModel):
|
class PluginReadmeResponse(BaseModel):
|
||||||
content: str = Field(description="The readme of the plugin.")
|
content: str = Field(description="The readme of the plugin.")
|
||||||
language: str = Field(description="The language of the readme.")
|
language: str = Field(description="The language of the readme.")
|
||||||
|
|||||||
@ -32,7 +32,7 @@ class PluginInstaller(BasePluginClient):
|
|||||||
f"plugin/{tenant_id}/management/fetch/readme",
|
f"plugin/{tenant_id}/management/fetch/readme",
|
||||||
PluginReadmeResponse,
|
PluginReadmeResponse,
|
||||||
params={
|
params={
|
||||||
"tenant_id":tenant_id,
|
"tenant_id": tenant_id,
|
||||||
"plugin_unique_identifier": plugin_unique_identifier,
|
"plugin_unique_identifier": plugin_unique_identifier,
|
||||||
"language": language
|
"language": language
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user