Settings handler¶
Settings Handler
Module realize settings handler.
- class luna_configurator.app.handlers.settings_handler.SettingsHandler(request)[source]¶
Handler for creating or receiving settings.
- async get()[source]¶
Request to receive settings according to provided filters. See spec getSettings.
- Return type:
HTTPResponse
- async getNewSettingSchema(settingName)[source]¶
Get validation schema for new setting :param settingName: setting name
- Returns:
validation schema for new setting
- Return type:
Callable
[[dict
],None
]
- async post()[source]¶
Request to receive settings. See spec newSetting.
- Return type:
HTTPResponse