MCPcopy Create free account
hub / github.com/ElementsProject/elements / override

Function override

test/functional/feature_taproot.py:182–184  ·  view source on GitHub ↗

Return a callable that evaluates expr in a modified context.

(expr, **kwargs)

Source from the content-addressed store, hash-verified

180 return lambda ctx: get({**ctx, **kwargs}, name)
181
182def override(expr, **kwargs):
183 """Return a callable that evaluates expr in a modified context."""
184 return lambda ctx: deep_eval({**ctx, **kwargs}, expr)
185
186# === Implementations for the various default expressions in DEFAULT_CONTEXT ===
187

Callers 2

spenders_taproot_activeFunction · 0.85
big_spend_inputsFunction · 0.85

Calls 1

deep_evalFunction · 0.85

Tested by

no test coverage detected