[Zope] persistent object with non-persistent attributes
Jerome Alet
alet@librelogiciel.com
Tue, 4 Mar 2003 10:22:06 +0100
Hi,
I would like to create a python Zope product which allows me
to create persistent objects.
but these objects have (as subobjects ?) complex attributes which
are themselves instances of a non-Zope related class, and which
should not be persistent (think hardware plug&play), because
they are recreated every time a method is called on my instance.
I think I could do (untested) :
myZopePersistentClassInstance.complexAttr = myNonZopeClass()
but this will probably, if it works, bloat by ZODB.
is there a way to do this without suffering from severe bloat ?
thanks in advance
PS: I know this may not be very clear...
Jerome Alet
--
(c) 1928-???? The letters U, S, and A and the U.S.A. flag are
the copyrighted property of Disney Enterprises Inc.
Any infringment will be punished with the death penalty.
Details : http://yro.slashdot.org/article.pl?sid=03/01/15/1528253&tid=123