Version handler

Version Handler

Module realize version handler.

class luna_backport3.app.handlers.version_handler.VersionHandler(request)[source]

Handler for getting version

async get()[source]

Get version of services, see spec_get_version.

Resource is reached by address ‘/version’

Return type:

HTTPResponse

static makeVersionBackward(version)[source]

Prepare version response in backward format

Parameters:

version – version in current API format

Returns:

version in backward format

Return type:

dict