Did I find the right examples for you? yes no

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

src/s/p/sphinxit-fc-0.3.3/sphinxit/search.py   sphinxit-fc(Download)
    oursql = None
 
from .core.exceptions import SphinxQLSyntaxException, ImproperlyConfigured
from .core.processor import SphinxSearchBase
from .core.lexemes import SXQLSnippets
        """
        if oursql is None:
            raise ImproperlyConfigured('Oursql library is needed to work with MySQL protocol.')
 
        try:
    def _get_connection(self):
        connection = getattr(self, '_conn', False)
        if not connection:
            raise ImproperlyConfigured('Cannot connect to Sphinx without proper connection.')
 

src/s/p/sphinxit-fc-0.3.3/sphinxit/tests/test_processor.py   sphinxit-fc(Download)
 
from ..search import SphinxConnector, SphinxSearch, SphinxSnippets
from ..core.exceptions import SphinxQLSyntaxException, ImproperlyConfigured
from ..core.lexemes import Q, Avg, Count