datalogd.plugins.join_datafilter module

class datalogd.plugins.join_datafilter.JoinDataFilter(sinks=[], count=2)[source]

Bases: DataFilter

Join two or more consecutive receipts of data together into a list.

If the data are already lists, the two lists will be merged.

Parameters:

count – Number of data receipts to join.

receive(data)[source]

Accept data and join consecutive receipts of data together into a list.

Parameters:

data – data to join.