MCPcopy Create free account
hub / github.com/microsoft/TypeChat / evaluate_array

Function evaluate_array

python/examples/math/program.py:56–57  ·  view source on GitHub ↗
(array: Sequence[JsonValue])

Source from the content-addressed store, hash-verified

54 results: list[JsonValue] = []
55
56 def evaluate_array(array: Sequence[JsonValue]) -> Awaitable[list[JsonValue]]:
57 return asyncio.gather(*[evaluate_expression(e) for e in array])
58
59 async def evaluate_expression(expr: JsonValue) -> JsonValue:
60 match expr:

Callers 1

evaluate_expressionFunction · 0.85

Calls 1

evaluate_expressionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…