Home | Trees | Indices | Help |
|
---|
|
1 # 2 # Copyright (C) 2008 Gaudenz Steinlin <gaudenz@soziologie.ch> 3 # 4 # This program is free software: you can redistribute it and/or modify 5 # it under the terms of the GNU General Public License as published by 6 # the Free Software Foundation, either version 3 of the License, or 7 # (at your option) any later version. 8 # 9 # This program is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # GNU General Public License for more details. 13 # 14 # You should have received a copy of the GNU General Public License 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. 16 17 """ 18 base.py - Base classes 19 """ 20 21 from storm.locals import * 22 from storm.exceptions import NoStoreError 2325 """ 26 @todo: Find a better name for this class. 27 """ 283930 store = Store.of(self) 31 if store is None: 32 raise NoStoreError('Operation not possible without a store.') 33 return store34 37 38 _store = property(_get_store, _set_store)
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 3 23:56:08 2023 | http://epydoc.sourceforge.net |