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

Method fetch

sdks/python/src/e2a/v1/client.py:216–220  ·  view source on GitHub ↗
(_cursor: Optional[str])

Source from the content-addressed store, hash-verified

214
215 def list(self) -> AutoPager[AgentView]:
216 async def fetch(_cursor: Optional[str]) -> Page:
217 resp = await self._c._read(lambda h: self._api.list_agents(_headers=h))
218 # No cursor param: drop next_cursor so the pager stops after one page.
219 # (Single-page at GA — see webhooks.deliveries.)
220 return _page(resp.items)
221
222 return AutoPager(fetch)
223

Callers 1

VerifyMethod · 0.45

Calls 3

_pageFunction · 0.85
_readMethod · 0.80
list_agentsMethod · 0.80

Tested by

no test coverage detected