New plugin mixin "WizardPlugin"

This commit is contained in:
Gina Häußge 2015-07-14 20:20:25 +02:00
parent 4193aa4d41
commit 03c2439efe

View file

@ -450,6 +450,12 @@ class TemplatePlugin(OctoPrintPlugin, ReloadNeedingPlugin):
return os.path.join(self._basefolder, "templates")
class WizardPlugin(OctoPrintPlugin, ReloadNeedingPlugin):
def is_wizard_required(self):
return False
class SimpleApiPlugin(OctoPrintPlugin):
"""
Utilizing the ``SimpleApiPlugin`` mixin plugins may implement a simple API based around one GET resource and one