Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encode/starlette
/ __exit__
Method
__exit__
starlette/testclient.py:527–528 ·
view source on GitHub ↗
(self, *args: Any)
Source
from the content-addressed store, hash-verified
525
return
self
526
527
def
__exit__(self, *args: Any) -> None:
528
self.exit_stack.close()
529
530
async
def
lifespan(self) -> None:
531
scope = {
"type"
:
"lifespan"
,
"state"
: self.app_state}
Callers
2
__exit__
Method · 0.45
__aexit__
Method · 0.45
Calls
1
close
Method · 0.45
Tested by
no test coverage detected