MCPcopy Create free account
hub / github.com/pallets/quart / __aexit__

Method __aexit__

src/quart/testing/client.py:391–402  ·  view source on GitHub ↗
(
        self, exc_type: type, exc_value: BaseException, tb: TracebackType
    )

Source from the content-addressed store, hash-verified

389 return self
390
391 async def __aexit__(
392 self, exc_type: type, exc_value: BaseException, tb: TracebackType
393 ) -> None:
394 self.preserve_context = False
395
396 while True:
397 top = _cv_request.get(None)
398
399 if top is not None and top.preserved:
400 await top.pop(None)
401 else:
402 break
403
404 async def _make_request(
405 self,

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected