From 2a1e1a804292bd7d3bed558e30153d5e6598d964 Mon Sep 17 00:00:00 2001 From: Harry Date: Thu, 31 Jul 2025 16:19:10 +0800 Subject: [PATCH] feat: datasource output schema --- api/core/datasource/entities/datasource_entities.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/core/datasource/entities/datasource_entities.py b/api/core/datasource/entities/datasource_entities.py index f1179e4514..9ce580912f 100644 --- a/api/core/datasource/entities/datasource_entities.py +++ b/api/core/datasource/entities/datasource_entities.py @@ -125,6 +125,8 @@ class DatasourceEntity(BaseModel): identity: DatasourceIdentity parameters: list[DatasourceParameter] = Field(default_factory=list) description: I18nObject = Field(..., description="The label of the datasource") + output_schema: Optional[dict] = None + @field_validator("parameters", mode="before") @classmethod