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