Simon Burton wrote at 2007-1-27 15:18 -0800: > >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 ?
Accessing (almost) any attribute (even a non existing one) will load the object. There are a few exceptions: attributes starting with "_p_" or "_v_". -- Dieter _______________________________________________ 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