2020-11-20 13:31:03 +01:00

13 lines
272 B
Python

from .parsers import TextDocumentParser
def text_consumer_declaration(sender, **kwargs):
return {
"parser": TextDocumentParser,
"weight": 10,
"mime_types": [
"text/plain",
"text/comma-separated-values"
]
}