13 lines
272 B
Python
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"
|
|
]
|
|
}
|