Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.
fix badge + back compatibility
thomashebrardeed75567397a
diff --git a/.badges/tests.json b/.badges/tests.jsonindex f254601b1..a92b4ba84 100644--- a/.badges/tests.json+++ b/.badges/tests.json@@ -1,7 +1,7 @@{"schemaVersion": 1,"label": "tests",- "message": "4049",+ "message": "4047","color": "blue","cacheSeconds": 300}\ No newline at end of filediff --git a/pipelex/graph/graph_factory.py b/pipelex/graph/graph_factory.pyindex dad18be63..9fd8228d9 100644--- a/pipelex/graph/graph_factory.py+++ b/pipelex/graph/graph_factory.py@@ -13,7 +13,6 @@ from pydantic import BaseModelfrom pipelex import logfrom pipelex.graph.mermaidflow.mermaid_html import render_mermaid_html_async, render_mermaid_html_with_data_asyncfrom pipelex.graph.mermaidflow.mermaidflow_factory import MermaidflowFactory-from pipelex.graph.mermaidflow.stuff_collector import collect_stuff_data_html, collect_stuff_data_textfrom pipelex.graph.reactflow.reactflow_html import generate_reactflow_html_asyncfrom pipelex.tools.misc.string_utils import snake_to_title_case@@ -116,25 +115,12 @@ async def generate_graph_outputs(# Generate ReactFlow HTMLif inclusion.reactflow_html:- # Collect stuff data in alternate formats if configured- rf_stuff_data_text: dict[str, str] | None = None- rf_stuff_data_html: dict[str, str] | None = None- if graph_config.data_inclusion.stuff_text_content:- log.verbose("Collecting stuff data text for graph_spec")- rf_stuff_data_text = collect_stuff_data_text(graph_spec)- else:- log.verbose("No stuff data text to collect for graph_spec")- if graph_config.data_inclusion.stuff_html_content:- rf_stuff_data_html = collect_stuff_data_html(graph_spec)-effective_rf_config = graph_config.reactflow_configif direction is not None:effective_rf_config = effective_rf_config.model_copy(update={"layout_direction": direction})reactflow_html = await generate_reactflow_html_async(graph_spec,effective_rf_config,- stuff_data_text=rf_stuff_data_text,- stuff_data_html=rf_stuff_data_html,title=page_title,)diff --git a/pipelex/graph/reactflow/reactflow_html.py b/pipelex/graph/reactflow/reactflow_html.pyindex a2120a8fc..1e4cad423 100644--- a/pipelex/graph/reactflow/reactflow_html.py+++ b/pipelex/graph/reactflow/reactflow_html.py@@ -36,8 +36,6 @@ def generate_reactflow_html(graphspec: GraphSpec,config: ReactFlowRenderingConfig,*,- stuff_data_text: dict[str, str] | None = None, # noqa: ARG001 — kept for backward compat- stuff_data_html: dict[str, str] | None = None, # noqa: ARG001 — kept for backward compattitle: str | None = None,) -> str:"""Generate single-file HTML with embedded GraphSpec and mthds-ui GraphViewer.@@ -45,8 +43,6 @@ def generate_reactflow_html(Args:graphspec: The GraphSpec to embed and render.config: ReactFlow rendering configuration.- stuff_data_text: Unused (kept for backward compatibility).- stuff_data_html: Unused (kept for backward compatibility).title: Optional page title, overrides config.default_title.Returns:@@ -77,8 +73,6 @@ async def generate_reactflow_html_async(graphspec: GraphSpec,config: ReactFlowRenderingConfig,*,- stuff_data_text: dict[str, str] | None = None, # noqa: ARG001- stuff_data_html: dict[str, str] | None = None, # noqa: ARG001title: str | None = None,) -> str:"""Generate single-file HTML with embedded GraphSpec and mthds-ui GraphViewer (async version).@@ -86,8 +80,6 @@ async def generate_reactflow_html_async(Args:graphspec: The GraphSpec to embed and render.config: ReactFlow rendering configuration.- stuff_data_text: Unused (kept for backward compatibility).- stuff_data_html: Unused (kept for backward compatibility).title: Optional page title, overrides config.default_title.Returns: