MCPcopy
hub / github.com/encode/starlette / __aexit__

Method __aexit__

starlette/routing.py:531–537  ·  view source on GitHub ↗
(
        self,
        exc_type: type[BaseException] | None,
        exc_value: BaseException | None,
        traceback: types.TracebackType | None,
    )

Source from the content-addressed store, hash-verified

529 return self._cm.__enter__()
530
531 async def __aexit__(
532 self,
533 exc_type: type[BaseException] | None,
534 exc_value: BaseException | None,
535 traceback: types.TracebackType | None,
536 ) -> bool | None:
537 return self._cm.__exit__(exc_type, exc_value, traceback)
538
539
540def _wrap_gen_lifespan_context(

Callers

nothing calls this directly

Calls 1

__exit__Method · 0.45

Tested by

no test coverage detected