Parsers have an accepted_data_types field, which is used in the error message raised if an unsupported payload is passed in for parsing. This information is stored as a string, which works great for error messaging, but isn't otherwise useful. Plus, it feels a little hokey?
This probably doesn't deserve attention, but maybe I'll think about it on a boring Tuesday someday.
Parsers have an
accepted_data_types
field, which is used in the error message raised if an unsupported payload is passed in for parsing. This information is stored as a string, which works great for error messaging, but isn't otherwise useful. Plus, it feels a little hokey?This probably doesn't deserve attention, but maybe I'll think about it on a boring Tuesday someday.