sprockets.mixins.mediatype/sprockets/mixins/mediatype
Dave Shawley be5eb94cbf
Add support for encoding decimal.Decimal as float.
This could be lossy on the JSON side since the precision is up to the
reader as well.  I implemented the encoding as a cast to `float` so
there will almost certainly be some loss of precision.
2021-11-03 06:49:40 -04:00
..
__init__.py Reformat using yapf. 2021-09-19 09:58:08 -04:00
content.py Rename some type aliases. 2021-10-28 08:42:57 -04:00
handlers.py Documentation updates for typing. 2021-10-03 15:52:47 -04:00
py.typed Add type annotations. 2021-10-03 15:52:43 -04:00
transcoders.py Add support for encoding decimal.Decimal as float. 2021-11-03 06:49:40 -04:00
type_info.py Add support for encoding decimal.Decimal as float. 2021-11-03 06:49:40 -04:00