fn callback(
    observer: EventsObserverWrapper<'_>,
    callback: PyObject,
    py: Python<'_>
) -> SystemWrapper
Expand description

callback(observer, callback)

Passes event rows and headers back to a Python callback

Parameters:

observer - an events observer to get data from the model

callback - a Python function with two parameters (header, row) to pass an event back to Python. header is a tuple of strings, row is a tuple of numbers