def show_batch
import qasim-bend-kit@0.1.0.2/usage/JSON_GPU.bend as JSONGPUimport Base
import qasim-bend-kit@0.1.0.2/libs/JSON.bend as Json
11def show_batch(batch: Json.BatchResult) -> String:
12 match batch:
13 case Json.DocumentResult{result}:
14 show_result(result)
15 case Json.DocumentResults{left, right}:
16 show_batch(left) ++ "|" ++ show_batch(right)