You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix sensor data streaming without metrics filter (#148)
When no metric filter was passed to `stream_sensor_data()` the transform
callback failed because the `metrics` argument wasn't passed when
calling `sensor_data_samples_from_proto()` internally, making the gRPC
streaming task stop with an unhandled exception.
This PR makes the `metrics` argument optional for
`sensor_data_samples_from_proto()` to fix that.
A test case with no metric filters is added too, and the test case
testing metric filters is improved to actually test the filtering.
0 commit comments