Few month ago I implemented to_dict and from_dict functionality to peppy. At that time I didn't know that we shouldn't return private variables (or dictionary with keys that start with underscore: eg. "_sample_dict"). This way of returning peppy as dictionary is incorrect and can lead to downstream problem.
I suggest change this functionality, so to_dict will return all non-private keys.
from_dict will support dict with both private and non-private keys.
Few month ago I implemented
to_dict
andfrom_dict
functionality to peppy. At that time I didn't know that we shouldn't return private variables (or dictionary with keys that start with underscore: eg. "_sample_dict"). This way of returning peppy as dictionary is incorrect and can lead to downstream problem.