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

Method __exit__

starlette/testclient.py:707–708  ·  view source on GitHub ↗
(self, *args: Any)

Source from the content-addressed store, hash-verified

705 return self
706
707 def __exit__(self, *args: Any) -> None:
708 self.exit_stack.close()
709
710 async def lifespan(self) -> None:
711 scope = {"type": "lifespan", "state": self.app_state}

Callers 2

__exit__Method · 0.45
__aexit__Method · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected