MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / scenario_needs_store

Function scenario_needs_store

sdks/python/tests/test_contract.py:86–93  ·  view source on GitHub ↗
(sc: dict[str, Any])

Source from the content-addressed store, hash-verified

84
85
86def scenario_needs_store(sc: dict[str, Any]) -> bool:
87 setup = sc.get("setup") or []
88 if any("inject_message" in s or "verify_domain" in s for s in setup):
89 return True
90 steps = sc.get("steps") or []
91 if any(s.get("action") in STORE_ACTIONS for s in steps):
92 return True
93 return False
94
95
96# ── Runner ────────────────────────────────────────────────────────

Callers 1

test_contract_scenarioFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected