fix: ruff format

pull/22685/head
Junyan Qin 7 months ago
parent b0fc4a594c
commit efc87c2b73
No known key found for this signature in database
GPG Key ID: 22FE3AFADC710CEB

@ -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):

Loading…
Cancel
Save