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/b/o/bokeh-0.4.4/bokeh/server/start.py   bokeh(Download)
from .models import user
from . import services
from .server_backends import (
    RedisBackboneStorage, RedisServerModelStorage,
    InMemoryBackboneStorage, InMemoryServerModelStorage,
        rport = backend.get('redis_port', REDIS_PORT)
        bbstorage = RedisBackboneStorage(redis.Redis(host=rhost, port=rport, db=2))
        servermodel_storage = RedisServerModelStorage(redis.Redis(host=rhost, port=rport, db=3))
 
    elif backend['type'] == 'memory':