sprockets.mixins.mediatype/sprockets/mixins/mediatype
Dave Shawley e99d41a8b4
Refuse to serialize None, True, False.
If someone explicitly removes the literal mappings, then refuse to
serialize None, True, and False instead of guessing.  Note that I
explicitly included True and False in the branch logic since bool is a
subclass of int but str(True) != str(int(True)) :/
2021-10-14 07:12:07 -04:00
..
__init__.py Reformat using yapf. 2021-09-19 09:58:08 -04:00
content.py Fail gracefully when transcoder is missing. 2021-10-03 15:52:48 -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 Refuse to serialize None, True, False. 2021-10-14 07:12:07 -04:00
type_info.py Implement serialization of primitive values. 2021-10-14 07:12:07 -04:00