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

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

src/s/i/silva.app.news-3.0.4/src/silva/app/news/filters/Filter.py   silva.app.news(Download)
from ..interfaces import INewsItemFilter, IServiceNews, news_source
from ..interfaces import INewsItemContentVersion
from ..NewsCategorization import NewsCategorization, INewsCategorizationFields
from silva.app.news import datetimeutils
from silva.app.news.datetimeutils import local_timezone
class Filter(NewsCategorization, NonPublishable, SimpleItem):
    """Super-class for news item filters.
 
    A NewsItemFilter picks up news from news sources. Editors can
    browse through this news. It can also be used by

src/s/i/silva.app.news-3.0.4/src/silva/app/news/NewsItem/content.py   silva.app.news(Download)
from silva.core.services.interfaces import ICataloging
 
from ..NewsCategorization import NewsCategorization
from ..datetimeutils import datetime_to_unixtimestamp, CalendarDatetime
from ..interfaces import INewsItem, INewsItemVersion
class NewsItemContentVersion(NewsCategorization):
    grok.baseclass()
    grok.implements(INewsItemContentVersion)
    security = ClassSecurityInfo()