From e390f52cf5dea32d6467530ab72443e233e26817 Mon Sep 17 00:00:00 2001 From: Petr Date: Sun, 30 Aug 2026 13:25:48 +0200 Subject: [PATCH] docs(flow): fix get_flow_detail docstring -- no schedule info is returned The docstring claimed the result includes schedule info, but the implementation only parses phases/tasks from the configuration body and enriches the raw config detail with counts and identifiers. Schedules are only fetched via list_flows(with_schedules=True) or the schedule-remove path. Docs-only change; no behavior change. --- src/keboola_agent_cli/services/flow_service.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/keboola_agent_cli/services/flow_service.py b/src/keboola_agent_cli/services/flow_service.py index 70946691..c22fb1e0 100644 --- a/src/keboola_agent_cli/services/flow_service.py +++ b/src/keboola_agent_cli/services/flow_service.py @@ -422,7 +422,12 @@ def get_flow_detail( config_id: str, branch_id: int | None = None, ) -> dict[str, Any]: - """Return full flow detail including phases, tasks, and schedule info. + """Return flow configuration detail including parsed phases and tasks. + + The result is the raw config detail enriched with ``phases``, ``tasks``, + ``phase_count``, ``task_count``, ``component_id``, ``branch_id`` and + ``project_alias``. Schedule info is NOT included -- schedules live in a + separate scheduler config (see ``list_flows(with_schedules=True)``). Raises: ConfigError: If alias is not found.