from PLC.Faults import *
from PLC.Parameter import Parameter
from PLC.Filter import Filter
-from PLC.Storage.AlchemyObj import AlchemyObj
+from PLC.Storage.AlchemyObject import AlchemyObj
from PLC.Table import Row, Table
class AddressType(AlchemyObj):
def delete(self, commit=True):
+ assert 'address_type_id' in self
AlchemyObj.delete(self, dict(self))
class AddressTypes(list):