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 item(item_dict):
        return DigestItem(
                item_dict["body"],
                item_dict["username"],
                date_parse(item_dict["updated_at"])

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
 
                    TEST_COMMENTABLE,
                    thread_title,
                    [DigestItem("test content", None, None)]
                )]
            )