7 Aug
2005
7 Aug
'05
8:54 p.m.
David H wrote at 2005-8-6 13:12 -0700:
I've been using "pluggable brains" in some zSQL classes. I have some questions!
a) It seems if I initialize a variable in the __init__ method that variable, say self.callCount = 1 is not retained across calls, eg
For efficiency reasons, the result row objects of Z SQL methods do not have a dict. Therefore, you cannot create new attributes for them. Your brain classes derive from such objects and therefore, too, lack a dict. -- Dieter