qiime2 / provenance-lib

QIIME 2 Provenance Replay Tools
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Clean up the `accepted_data_types` implementation in Parsers #35

Open ChrisKeefe opened 2 years ago

ChrisKeefe commented 2 years ago

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.