fn callback(
observer: TimeSeriesObserverWrapper<'_>,
callback: PyObject,
py: Python<'_>
) -> SystemWrapper
Expand description
callback(observer, callback)
Passes time series rows and headers back to a Python callback
Parameters:
observer - a time series observer to get data from the model
callback - a Python function with two parameters (header, row) to pass a time series row back to Python.
header
is a tuple of strings, row
is a tuple of numbers