Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(2) | Derive(0) | Import(0)
src/n/e/NeuroTools-0.2.0/src/datastore/shelve_ds.py NeuroTools(Download)
def retrieve(self, component, attribute_name): __doc__ = AbstractDataStore.retrieve.__doc__ storage_key = self._generate_key(component) path = os.path.join(self._root_dir, storage_key+".shelf") if os.path.exists(path):
def store(self, component, attribute_name, data): __doc__ = AbstractDataStore.store.__doc__ storage_key = self._generate_key(component) try: path = os.path.join(self._root_dir, storage_key+".shelf")