MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / initialize

Method initialize

src/ext/sockjs/tornado/basehandler.py:21–28  ·  view source on GitHub ↗

Initialize request `server` SockJSRouter instance.

(self, server)

Source from the content-addressed store, hash-verified

19class BaseHandler(RequestHandler):
20 """Base request handler with set of helpers."""
21 def initialize(self, server):
22 """Initialize request
23
24 `server`
25 SockJSRouter instance.
26 """
27 self.server = server
28 self.logged = False
29
30 # Statistics
31 def prepare(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected