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

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/n/o/notifier-HEAD/notifier/pull.py   notifier(Download)
import requests
 
from notifier.digest import Digest, DigestCourse, DigestThread, DigestItem
 
logger = logging.getLogger(__name__)
    def digest(user_id, user_dict):
        return Digest(
                [Parser.course(course_id, course_dict)
                    for course_id, course_dict in user_dict.iteritems()]
                )

src/n/o/notifier-HEAD/notifier/management/commands/forums_digest.py   notifier(Download)
import sys
 
from notifier.digest import render_digest, Digest, DigestCourse, DigestThread, DigestItem
from notifier.pull import generate_digest_content
from notifier.tasks import generate_and_send_digests

src/n/o/notifier-HEAD/notifier/tests/test_digest.py   notifier(Download)
from mock import patch
 
from notifier.digest import Digest, DigestCourse, DigestItem, DigestThread, render_digest
from notifier.user import LANGUAGE_PREFERENCE_KEY
 
    def set_digest(self, thread_title):
        self.digest = Digest([
            DigestCourse(
                TEST_COURSE_ID,
                [DigestThread(