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

Method approve

sdks/python/src/e2a/v1/client.py:401–412  ·  view source on GitHub ↗
(
        self,
        message_id: str,
        body: Optional[Body] = None,
        *,
        idempotency_key: Optional[str] = None,
    )

Source from the content-addressed store, hash-verified

399 return await self._c._read(lambda h: self._api.get_review(message_id, _headers=h))
400
401 async def approve(
402 self,
403 message_id: str,
404 body: Optional[Body] = None,
405 *,
406 idempotency_key: Optional[str] = None,
407 ) -> SendResultView:
408 req = _coerce(ApproveRequest, body)
409 return await self._c._write_keyed(
410 lambda h: self._api.approve_review(message_id, req, _headers=h),
411 idempotency_key,
412 )
413
414 async def reject(
415 self, message_id: str, body: Optional[Body] = None

Calls 3

_coerceFunction · 0.85
_write_keyedMethod · 0.80
approve_reviewMethod · 0.80