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

Method __init__

src/octoprint/server/__init__.py:396–404  ·  view source on GitHub ↗
(self, configfile=None, basedir=None, host="0.0.0.0", port=5000, debug=False, allowRoot=False, logConf=None)

Source from the content-addressed store, hash-verified

394
395class Server():
396 def __init__(self, configfile=None, basedir=None, host="0.0.0.0", port=5000, debug=False, allowRoot=False, logConf=None):
397 self._configfile = configfile
398 self._basedir = basedir
399 self._host = host
400 self._port = port
401 self._debug = debug
402 self._allowRoot = allowRoot
403 self._logConf = logConf
404 self._ioLoop = None
405
406 def stop(self):
407 if self._ioLoop:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected