Functions | |
| def | todict (obj) |
| def | fromdict (obj) |
| def | dumps (obj, indent=2) |
| def | loads (text) |
| def | dump (filename, obj, indent=2) |
| def | load (filename) |
Functions to assist in persisting schema objects.
| def wirecell.util.wires.persist.dump | ( | filename, | |
| obj, | |||
indent = 2 |
|||
| ) |
Save a response object (typically response.schema.FieldResponse) to a file of the given name.
Definition at line 66 of file persist.py.
| def wirecell.util.wires.persist.dumps | ( | obj, | |
indent = 2 |
|||
| ) |
| def wirecell.util.wires.persist.fromdict | ( | obj | ) |
| def wirecell.util.wires.persist.load | ( | filename | ) |
Return response.schema object representation of the data in the file of the given name.
Definition at line 86 of file persist.py.
| def wirecell.util.wires.persist.loads | ( | text | ) |
| def wirecell.util.wires.persist.todict | ( | obj | ) |
Return a dictionary for the object which is marked up for type.
Definition at line 17 of file persist.py.
1.8.11