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

All Samples(6)  |  Call(0)  |  Derive(3)  |  Import(3)

src/d/j/djedi-cms-1.0/djedi/backends/django/cache/backend.py   djedi-cms(Download)
from django.core.cache import InvalidCacheBackendError
from django.utils.encoding import smart_str, smart_unicode
from cio.backends.base import CacheBackend
 
 
class DjangoCacheBackend(CacheBackend):

src/c/o/content-io-HEAD/tests/test_storage.py   content-io(Download)
from cio.backends import get_backend, storage
from cio.backends.base import CacheBackend, StorageBackend, DatabaseBackend
from cio.backends.exceptions import InvalidBackend, PersistenceError, NodeDoesNotExist
from cio.backends.sqlite import SqliteBackend
from cio.conf.exceptions import ImproperlyConfigured
        class BogusStorage(CacheBackend, StorageBackend):
            pass
        bogus = BogusStorage()
        self.assertIsNone(bogus.scheme)
        with self.assertRaises(NotImplementedError):

src/c/o/content-io-1.0.1/tests/test_storage.py   content-io(Download)
from cio.backends import get_backend, storage
from cio.backends.base import CacheBackend, StorageBackend, DatabaseBackend
from cio.backends.exceptions import InvalidBackend, PersistenceError, NodeDoesNotExist
from cio.backends.sqlite import SqliteBackend
from cio.conf.exceptions import ImproperlyConfigured
        class BogusStorage(CacheBackend, StorageBackend):
            pass
        bogus = BogusStorage()
        self.assertIsNone(bogus.scheme)
        with self.assertRaises(NotImplementedError):