mirror of https://github.com/langgenius/dify.git
feat: datasource output schema
This commit is contained in:
parent
13f38045d4
commit
2a1e1a8042
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue