I think that through the DB instance, you can access the storage instance with the "_storage" attribute.
Pascal -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de David Pratt Envoyé : jeudi 15 juin 2006 19:29 À : zodb-dev@zope.org Objet : Re: [ZODB-Dev] Getting clientstorage object in main.py Perhaps I should qualify this a bit. On realize ClientStorage is initialized during ZEO startup. main.py provides a ZODB.DB.DB instance as db but I am interested in setting an attribute of the ClientStorage instance that was initialized. Regards, David David Pratt wrote: > Hi. I am needing to get hold of my clientstorage obj instance that was > created on realize in zope.app.twisted.main.py. Can someone advise how > to get a handle on it in main.py after is has it has been created > (realized). Many thanks. > > Regards, > David > _______________________________________________ > 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 > _______________________________________________ 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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** _______________________________________________ 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