From: pkoelle <pk...@gm...> - 2004-12-30 16:30:09
|
Hi list, I am surely overlooking something simple but haven't found a way override the setter and not hardcoding the columns name. I can do something like: def _setName(self, value): blabla self._SO_set_Name(value) but this applies to the Name column only and I have to perform the *same* operation for *all* columns and rather like to avoid writing the same code for each column. Basically I'd like to update an ini file through ConfigParser on writes, where the option (in terms of ConfigParser) should be the name attribute of the column being changed. I have no idea if messing with _SO_setValue() is a sane approach. Moreover, there seems no way to get the name attribute of the column at runtime... Any ideas? thanks Paul |