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

Method close

tests/test_formparsers.py:964–967  ·  tests/test_formparsers.py::FailingSpooledTemporaryFile.close
(self)

Source from the content-addressed store, hash-verified

962 raise OSError(class="st">"disk full")
963
964 def close(self) -> None:
965 nonlocal close_called
966 close_called = True
967 super().close()
968
969 async def error_app(scope: Scope, receive: Receive, send: Send) -> None:
970 request = Request(scope, receive)

Callers 10

websocket_endpointFunction · 0.45
websocket_stateFunction · 0.45
on_disconnectMethod · 0.45
partial_ws_endpointFunction · 0.45
async_ws_endpointMethod · 0.45
websocket_endpointFunction · 0.45
websocket_paramsFunction · 0.45
ws_helloworldFunction · 0.45
websocket_endpointFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected