Version handler
Version Handler
Module realize version handler.
-
class luna_api.app.handlers.version_handler.VersionHandler(request)[source]
Handler for getting version
-
async get()[source]
Get version of services, see spec
Resource is reached by address ‘/version’
-
async static getVersion(client)[source]
Get version from a service HTTP client.
- Parameters:
client – HTTP client
- Returns:
service version
- Return type:
Dict
[str
, int
]