-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate CustomFormat in serialize & deserialize (#2)
Bugfix - propagate the `CustomFormat` supplied in a `serialize` & `deserialize` calls. Updated the internals in `serialization.py` to ensure that the supplied `CustomFormat` type -> (de)serializer mapping is used when the routine(s) encounter a `Mapping`, `Iterable`, `NamedTuple` or `@dataclass`-deriving input. New tests in `test_custom_serialization` cover these cases. Version `0.1.1`
- Loading branch information
1 parent
4493c08
commit 9d7b5df
Showing
3 changed files
with
99 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "pywise" | ||
version = "0.1.0" | ||
version = "0.1.1" | ||
description = "Robust serialization support for NamedTuple & @dataclass data types." | ||
authors = ["Malcolm Greaves <[email protected]>"] | ||
homepage = "https://github.com/malcolmgreaves/pywise" | ||
|
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