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

Method initialize

python/python3/tornado/web.py:2461–2462  ·  view source on GitHub ↗
(self, status_code: int)

Source from the content-addressed store, hash-verified

2459 """Generates an error response with ``status_code`` for all requests."""
2460
2461 def initialize(self, status_code: int) -> None:
2462 self.set_status(status_code)
2463
2464 def prepare(self) -> None:
2465 raise HTTPError(self._status_code)

Callers 1

__init__Method · 0.45

Calls 1

set_statusMethod · 0.80

Tested by

no test coverage detected