Support serializing SensorGraph state and deserializing it
Open
iotile-emulate
iotile-sensorgraph
type:enhancement
- Dominant language
- Python
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
For snapshotting an emulated device with a loaded sensorgraph, it needs to be possible to serialize and deserialize the sensorgraph state including the state of any allocated stream walkers.
This would need a `dump` and `restore` function in SensorLog and a `dump` and `restore` function in `SensorGraph` that makes use of the dump and restore feature in `SensorLog`.
Contributor guide
Assessment
This issue has not been assessed yet.