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

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

src/m/a/MapProxy-1.6.0/mapproxy/config/loader.py   MapProxy(Download)
    def _riak_cache(self, grid_conf, file_ext):
        from mapproxy.cache.riak import RiakCache
 
        default_ports = self.conf['cache'].get('default_ports', {})
        default_pb_port = default_ports.get('pb', 8087)
        use_secondary_index = self.conf['cache'].get('secondary_index', False)
 
        return RiakCache(nodes=nodes, protocol=protocol, bucket=bucket,
            tile_grid=grid_conf.tile_grid(),
            lock_dir=self.lock_dir(),

src/m/a/mapproxy-HEAD/mapproxy/config/loader.py   mapproxy(Download)
    def _riak_cache(self, grid_conf, file_ext):
        from mapproxy.cache.riak import RiakCache
 
        default_ports = self.conf['cache'].get('default_ports', {})
        default_pb_port = default_ports.get('pb', 8087)
        use_secondary_index = self.conf['cache'].get('secondary_index', False)
 
        return RiakCache(nodes=nodes, protocol=protocol, bucket=bucket,
            tile_grid=grid_conf.tile_grid(),
            lock_dir=self.lock_dir(),

src/m/a/MapProxy-1.6.0/mapproxy/test/unit/test_cache_riak.py   MapProxy(Download)
from nose.plugins.skip import SkipTest
 
from mapproxy.cache.riak import RiakCache
from mapproxy.grid import tile_grid
from mapproxy.test.image import create_tmp_image_buf
        TileCacheTestBase.setup(self)
 
        self.cache = RiakCache([node], protocol, db_name, tile_grid=tile_grid(3857, name='global-webmarcator'),
                lock_dir=self.cache_dir)
 

src/m/a/mapproxy-HEAD/mapproxy/test/unit/test_cache_riak.py   mapproxy(Download)
from nose.plugins.skip import SkipTest
 
from mapproxy.cache.riak import RiakCache
from mapproxy.grid import tile_grid
from mapproxy.test.image import create_tmp_image_buf
        TileCacheTestBase.setup(self)
 
        self.cache = RiakCache([node], protocol, db_name, tile_grid=tile_grid(3857, name='global-webmarcator'),
                lock_dir=self.cache_dir)