fix: ruff check

This commit is contained in:
lyzno1 2025-10-25 12:07:46 +08:00
parent 4221e99362
commit eecbe533a1
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -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.")

View File

@ -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
} }