Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/m/y/mygpo-feedservice-HEAD/feedservice/webservice/views.py   mygpo-feedservice(Download)
from feedservice.utils import json, select_matching_option
from feedservice.webservice.utils import ObjectEncoder
from feedservice.parse.text import StripHtmlTags, ConvertMarkdown
 
 
def get_text_processor(name):
    if name == 'strip_html':
        return StripHtmlTags()
    elif name == 'markdown':
        return ConvertMarkdown()