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

Method resolve

sdks/python/tests/test_contract.py:116–121  ·  view source on GitHub ↗
(self, s: str)

Source from the content-addressed store, hash-verified

114 return self._http.request(method, path, headers=headers, json=body)
115
116 def resolve(self, s: str) -> str:
117 s = s.replace("{base_url}", self.base_url)
118 s = s.replace("{api_key}", self.api_key)
119 for k, v in self.vars.items():
120 s = s.replace(f"{{{k}}}", v)
121 return s
122
123 def resolve_value(self, v: Any) -> Any:
124 if isinstance(v, str):

Callers 15

resolve_valueMethod · 0.95
execute_setupMethod · 0.95
_exec_requestMethod · 0.95
test_contract.pyFile · 0.45
simulateBrowserCallbackFunction · 0.45
mockResponseFunction · 0.45
listen.test.tsFile · 0.45
okJsonFunction · 0.45
notFoundFunction · 0.45
mockPendingCountFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected