Config handler¶
Configs Handler
Module realizes configs handler.
- class luna_admin.crutches_on_wheels.web.configs_handler.ConfigsHandler(request)[source]¶
Handler for getting actual service configuration
- property app: LunaApplication¶
Get application :rtype:
LunaApplication
:returns: running application
- property config¶
Get running application config :returns: running application config
- async get()[source]¶
Get service configuration, see get_config.
Resource is reached by address ‘/config’
- Raises:
VLException(Error.UnsupportedMediaType, 415, isCriticalError=False), if "Accept" header is incorrect –
- Return type:
HTTPResponse