mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 12:37:20 +08:00
19 lines
489 B
Python
19 lines
489 B
Python
from typing import Any, Mapping, Optional
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class DatasourceNodeRunApiEntity(BaseModel):
|
|
pipeline_id: str
|
|
node_id: str
|
|
inputs: Mapping[str, Any]
|
|
datasource_type: str
|
|
credential_id: Optional[str] = None
|
|
is_published: bool
|
|
|
|
class PipelineRunApiEntity(BaseModel):
|
|
inputs: Mapping[str, Any]
|
|
datasource_type: str
|
|
datasource_info_list: list[Mapping[str, Any]]
|
|
start_node_id: str
|
|
is_published: bool
|
|
response_mode: str |