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/parse/models.py   mygpo-feedservice(Download)
import logging
 
from feedservice.utils import flatten, longest_substr, get_data_uri, \
    fetch_url, transform_image
from feedservice.parse import mimetype
    def get_content_types(self):
        files = flatten(episode.files for episode in self.episodes)
        types = filter(None, (f.mimetype for f in files))
        return mimetype.get_podcast_types(types)