[Twisted-Python] twisted.world question

jml at ids.org.au jml at ids.org.au
Tue May 13 08:02:35 EDT 2003


Hello,

I have a class Bar, which is a subclass of Foo. I want Bar to be Storable, but
Foo is not. What am I required to persist in Bar in order to ensure that the
retrieved object is a fully working Foo?

e.g.

class Foo:
  pass

class Bar(Foo, Storable):
  __schema__ = { ... }

cheers,
jml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030513/45133738/attachment.pgp 


More information about the Twisted-Python mailing list