DictInputOutput#
- class pybrops.core.io.DictInputOutput.DictInputOutput[source]#
Bases:
object
Abstract class for defining
dict
input/output functionality.This abstract class defines two functions with the following purposes:
to_dict
- export an object to adict
.from_dict
- load an object from adict
.
Methods
Read an object from a
dict
.Export an object to a
dict
.