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

Method _raw

sdks/python/tests/test_contract.py:110–114  ·  view source on GitHub ↗
(self, method: str, path: str, body: Any = None)

Source from the content-addressed store, hash-verified

108 self._http.close()
109
110 def _raw(self, method: str, path: str, body: Any = None) -> httpx.Response:
111 headers = {"Authorization": f"Bearer {self.api_key}"}
112 if body is not None:
113 headers["Content-Type"] = "application/json"
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)

Callers 2

execute_setupMethod · 0.95
_exec_requestMethod · 0.95

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected