You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pipeline_service_api_entities.py 503B

12345678910111213141516171819202122
  1. from collections.abc import Mapping
  2. from typing import Any
  3. from pydantic import BaseModel
  4. class DatasourceNodeRunApiEntity(BaseModel):
  5. pipeline_id: str
  6. node_id: str
  7. inputs: dict[str, Any]
  8. datasource_type: str
  9. credential_id: str | None = None
  10. is_published: bool
  11. class PipelineRunApiEntity(BaseModel):
  12. inputs: Mapping[str, Any]
  13. datasource_type: str
  14. datasource_info_list: list[Mapping[str, Any]]
  15. start_node_id: str
  16. is_published: bool
  17. response_mode: str