MCPcopy Create free account
hub / github.com/EasyIME/PIME / on_finish

Method on_finish

python/python3/tornado/web.py:296–304  ·  view source on GitHub ↗

Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to `prepare`. ``on_finish`` may not produce any output, as it is called after the response has been sent to the client.

(self)

Source from the content-addressed store, hash-verified

294 pass
295
296 def on_finish(self) -> None:
297 """Called after the end of a request.
298
299 Override this method to perform cleanup, logging, etc.
300 This method is a counterpart to `prepare`. ``on_finish`` may
301 not produce any output, as it is called after the response
302 has been sent to the client.
303 """
304 pass
305
306 def on_connection_close(self) -> None:
307 """Called in async handlers if the client closed the connection.

Callers 2

finishMethod · 0.95
prepareMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected