File size: 475 Bytes
a8b4b87 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """Helper to declare a chakra whose upstream kernel is not vendored locally."""
from __future__ import annotations
from typing import Any, Mapping
def make_stub(name: str):
STUBBED = True
def evaluate(envelope: Mapping[str, Any]) -> dict[str, Any]:
raise NotImplementedError(
f"upstream kernel not vendored (chakra={name!r}). "
"Vendor the upstream Amaru bundle to enable real evaluation."
)
return STUBBED, evaluate
|