Did I find the right examples for you? yes no

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

src/s/i/simplestore-HEAD/simplestore/tests/__init__.py   simplestore(Download)
 
from simplestore import model, entities_table
from simplestore.datastore import DataStore
 
def gen_uuid():
    def setUp(self):
        self.datastore = DataStore(**config.datastore_params)
        self.datastore.global_execute(entities_table)
 
    def tearDown(self):

src/s/i/simplestore-HEAD/simplestore/tests/test_sharding.py   simplestore(Download)
from simplestore import entities_table
from simplestore.index import Index
from simplestore.datastore import DataStore
 
from simplestore.tests import config
    def setUp(self):
        self.datastore = DataStore(**config.sharded_datastore_params)
        self.datastore.global_execute(entities_table)
 
        self.datastore.global_execute("""

src/s/i/simplestore-0.3.1/simplestore/tests/__init__.py   simplestore(Download)
 
from simplestore import model, entities_table
from simplestore.datastore import DataStore
 
def gen_uuid():
    def setUp(self):
        self.datastore = DataStore(**config.datastore_params)
        self.datastore.global_execute(entities_table)
 
    def tearDown(self):

src/s/i/simplestore-0.3.1/simplestore/tests/test_sharding.py   simplestore(Download)
from simplestore import entities_table
from simplestore.index import Index
from simplestore.datastore import DataStore
 
from simplestore.tests import config
    def setUp(self):
        self.datastore = DataStore(**config.sharded_datastore_params)
        self.datastore.global_execute(entities_table)
 
        self.datastore.global_execute("""