From efc87c2b7327e45da6553a5041d57c72dd57d1b4 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Mon, 21 Jul 2025 16:31:11 +0800 Subject: [PATCH] fix: ruff format --- api/core/plugin/entities/marketplace.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api/core/plugin/entities/marketplace.py b/api/core/plugin/entities/marketplace.py index a1782cdd68..1c13a621d4 100644 --- a/api/core/plugin/entities/marketplace.py +++ b/api/core/plugin/entities/marketplace.py @@ -32,9 +32,7 @@ class MarketplacePluginDeclaration(BaseModel): latest_package_identifier: str = Field( ..., description="Unique identifier for the latest package release of the plugin" ) - status: str = Field( - ..., description="Indicate the status of marketplace plugin, enum from `active` `deleted`" - ) + status: str = Field(..., description="Indicate the status of marketplace plugin, enum from `active` `deleted`") deprecated_reason: str = Field( ..., description="Not empty when status='deleted', indicates the reason why this plugin is deleted(deprecated)" ) @@ -42,7 +40,6 @@ class MarketplacePluginDeclaration(BaseModel): ..., description="Optional, indicates the alternative plugin for user to switch to" ) - @model_validator(mode="before") @classmethod def transform_declaration(cls, data: dict):