powermon.outputformats.cache module

powermon / outputformats / cache.py

class powermon.outputformats.cache.Cache(config)

Bases: AbstractFormat

simple format - {name}={value}{unit} format

format(command, result: Result, device_info) list

entry point for all formats

classmethod from_dto(dto: AbstractFormatDTO)

build class object from dto