From 330e53e62c8d4cb5e8cdec94df98ffbb50727852 Mon Sep 17 00:00:00 2001 From: zachary62 Date: Sun, 29 Dec 2024 04:21:15 +0000 Subject: [PATCH] fix python --- docs/batch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/batch.md b/docs/batch.md index e4bda95..7eb5356 100644 --- a/docs/batch.md +++ b/docs/batch.md @@ -45,7 +45,7 @@ class MapSummaries(BatchNode): map_summaries = MapSummaries() flow = Flow(start=map_summaries) flow.run(shared) -```python +``` --- @@ -69,7 +69,7 @@ summarize_file = SummarizeFile(start=load_file) # Wrap that flow into a BatchFlow: summarize_all_files = SummarizeAllFiles(start=summarize_file) summarize_all_files.run(shared) -```python +``` **Under the Hood**: 1. `prep(shared)` returns a list of param dicts—e.g., `[{filename: "file1.txt"}, {filename: "file2.txt"}, ...]`.