Stephen Brown II
cab6313798
Allow subclasses of known types to be encoded with superclass encoder ( #1291 )
...
* Add (failing) test for Subclass JSON encoding
* Allow subclasses of known types to be encoded with superclass encoder
* Add change file
* Add documentation, fix custom json_encoders and add unit test
Blacken doc
Fix test that worked on my machine
datetime.timestamp() is flakey?
Single quotes only
* Reduce lookups
- Remove last element in `__mro__` as it will always be `object`
- Use .get for compactness
* Regarding the loop
* Move Path and Enum into ENCODERS_BY_TYPE
Sort ENCODERS_BY_TYPE
* improve JSON docs
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2020-04-18 17:11:00 +01:00
..
2019-10-14 16:40:25 +01:00
2019-11-09 12:29:15 +00:00
2020-03-18 20:23:42 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-03-18 20:23:42 +00:00
2020-03-18 20:22:49 +00:00
2019-11-07 14:40:44 +00:00
2020-04-18 17:11:00 +01:00
2020-04-18 17:11:00 +01:00
2020-04-18 17:11:00 +01:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-03-04 17:26:11 +00:00
2019-11-07 14:40:44 +00:00
2020-01-24 10:31:16 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-04-15 22:53:19 +01:00
2019-11-25 12:19:41 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-03-18 20:23:42 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-03-04 15:40:04 +00:00
2019-11-07 14:40:44 +00:00
2020-01-10 21:06:52 +00:00
2020-01-10 21:06:52 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-28 16:48:33 +00:00
2019-12-02 12:47:56 +00:00
2020-02-27 17:35:51 -05:00
2020-02-27 17:35:51 -05:00
2019-11-07 14:40:44 +00:00
2019-11-25 12:55:15 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-01-06 12:01:03 +00:00
2019-12-19 12:12:52 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-10-14 16:40:25 +01:00
2019-11-07 14:40:44 +00:00
2020-01-17 16:22:54 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-14 16:22:51 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-04-18 17:02:22 +01:00
2019-12-11 12:01:41 +00:00
2019-11-07 14:40:44 +00:00
2020-01-17 16:22:54 +00:00
2020-01-13 11:50:16 +00:00
2020-01-13 11:50:16 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-04-15 22:05:43 +01:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 12:31:26 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2020-01-21 16:55:11 +00:00
2019-11-07 14:40:44 +00:00
2020-02-05 17:27:12 +00:00
2020-02-05 17:27:12 +00:00
2020-03-01 13:34:35 +00:00
2020-02-05 17:27:12 +00:00
2020-02-05 17:27:12 +00:00
2020-01-02 15:13:44 +00:00
2019-10-14 16:40:25 +01:00
2019-10-14 16:40:25 +01:00
2019-10-14 16:40:25 +01:00
2019-10-14 16:40:25 +01:00
2019-10-14 16:40:25 +01:00