-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28 Jan 2007, at 00:18, Simon Burton wrote:


I have a Persistent object, however, its attributes only
get loaded from the storage when I request a specific attribute.
Problem is, I don't know the names of the attributes
necessarily. I was trying to just query the __dict__ but
this does not trigger a load. Is there another way to do this ?

When I am at a debug prompt and the an object's __dict__ is empty, I do "dir(myobject)", that will load it.

jens



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFvIzURAx5nvEhZLIRAhUoAJ4tuS/WiL85roPWgwkxXMdpGiqyawCfcdLW
4cy89IKcGbkB/hSYT/2N9II=
=0orw
-----END PGP SIGNATURE-----
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to