revitron.analyze.history

This submodule provides an synchronizer class for mirroring hsitory data to Directus.

Classes:

DirectusHistorySynchronizer(config)

This synchronizer class mirrors sync meta data that is tracked by the Revitron History into a Directus database.

class DirectusHistorySynchronizer(config)[source]

Bases: object

This synchronizer class mirrors sync meta data that is tracked by the Revitron History into a Directus database.

Methods:

__init__(config)

Init the synchronizer.

sync()

Fetch sync meta data from the history SQLite file and push it to the Directus database.

__init__(config)[source]

Init the synchronizer.

Parameters

config (dict) – The configuration dictionary.

sync()[source]

Fetch sync meta data from the history SQLite file and push it to the Directus database.