MCPcopy Create free account
hub / github.com/ZyphrZero/z.ai2api_python / handler

Function handler

tests/test_upstream_dual_pool.py:187–189  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

185 return await original_acquire(*args, **kwargs)
186
187 async def handler(headers):
188 await asyncio.sleep(MIXED_REQUEST_DELAY)
189 return FakeResponse(200)
190
191 client = UpstreamClient()
192 original_acquire = guest_pool.acquire

Callers 1

postMethod · 0.70

Calls 1

FakeResponseClass · 0.70

Tested by

no test coverage detected