Hi All,
This is particularly problematic when using the common case of
SQLAlchemy declaratively mapped model classes.
The attached unit test when run will fail with:
Error in test test_provideAdapter (test_sa.TestAdapter)
Traceback (most recent call last):
File
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/27/2011 06:24 AM, Chris Withers wrote:
This is particularly problematic when using the common case of
SQLAlchemy declaratively mapped model classes.
The attached unit test when run will fail with:
Error in test test_provideAdapter
On 27/02/2011 17:22, Tres Seaver wrote:
TypeError: 'DeclarativeMeta' object is not iterable
Why is that and how should I register an adapter against such a class?
UTSL: the 'required' argument passed to 'registerAdapter' is supposed
to be a sequence of interfaces or classes, not a single