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/s/c/sc.contentrules.groupbydate-2.0.1/src/sc/contentrules/groupbydate/interfaces.py   sc.contentrules.groupbydate(Download)
# -*- coding: utf-8 -*-
from sc.contentrules.groupbydate import MessageFactory as _
from sc.contentrules.groupbydate.vocabulary import (RelPathSearchableTextSource as
                                                    SearchableTextSource)
from zope.interface import implements
    def __call__(self, context):
        context = getattr(context, 'context', context)
        results = SearchableTextSource(context, base_query=self.query.copy(),
                                       default_query=self.default_query)
        return results