-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove automatic recursive to_dict/from_dict again
This turned out to have negative interactions when writing and reading objects from GenericJob which currently employs a mixture of to_hdf and newer to_dict interfaces. When reading the objects again the recursive strategy can get confused which interface to use. Since it is anyway mostly relevant for the DataContainer, I have extracted this functionality into stand- alone functions that operate on the obj_dicts. Classes that wish to use it and do not confuse the two interfaces can call these functions in their implementations of _to_dict and _from_dict as done by DataContainer now.
- Loading branch information
Showing
3 changed files
with
76 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters