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

Method fetch

sdks/python/src/e2a/v1/client.py:284–302  ·  view source on GitHub ↗
(cursor: Optional[str])

Source from the content-addressed store, hash-verified

282 # underscore) and translate to the generated base's `var_from` here so the
283 # generator's mangled name never leaks into the public SDK surface.
284 async def fetch(cursor: Optional[str]) -> Page:
285 resp = await self._c._read(
286 lambda h: self._api.list_messages(
287 email,
288 direction=direction,
289 read_status=read_status,
290 sort=sort,
291 var_from=from_,
292 subject_contains=subject_contains,
293 conversation_id=conversation_id,
294 labels=labels,
295 since=since,
296 until=until,
297 cursor=cursor,
298 limit=limit,
299 _headers=h,
300 )
301 )
302 return _page(resp.items, resp.next_cursor)
303
304 return AutoPager(fetch)
305

Callers

nothing calls this directly

Calls 3

_pageFunction · 0.85
_readMethod · 0.80
list_messagesMethod · 0.80

Tested by

no test coverage detected