[Product-Developers] zope.sqlalchemy objects and traversal/speaking urls

Carsten Senger senger at rehfisch.de
Wed Nov 21 10:19:22 UTC 2012



Am 14.11.2012 23:01, schrieb Malthe Borch:> On 14 November 2012 18:00,
Carsten Senger <senger at rehfisch.de> wrote:
>> Implementing OFS.interfaces.ITraversable seems to be not sensible.
>> Inheriting from Acquisition.Implicit is not possible due to metaclass
>> conflicts. Is it possible to put them into the acquisition chain without
>> inheriting from Acquisition.
>
> You can wrap them in an `ImplicitAcquisitionWrapper`. This works even
> for e.g. a dict `{}` – I would think that it would on an ORM class as
> well.

Thanks for the hint. It works pretty well to wrap the class into
ImplicitAcquisitionWrapper.

Cheers,

..Carsten


-- 
Carsten Senger - Schumannstr. 38 - 65193 Wiesbaden
senger at rehfisch.de - (0611) 5324176
PGP: gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xE374C75A



More information about the Product-Developers mailing list