its missing. use sqlalchemy.dialects.postgresql.base.ARRAY.
On Oct 24, 2009, at 6:19 AM, sector119 wrote: > > The latest trunk. > >>>> from sqlalchemy.dialects.postgresql import ARRAY > Traceback (most recent call last): > File "<console>", line 1, in <module> > ImportError: cannot import name ARRAY > >>>> from sqlalchemy.dialects.postgresql.base import ARRAY > >>>> from sqlalchemy.dialects import postgresql > >>>> 'ARRAY' in dir(postgresql) > False > > We have no ARRAY at sqlalchemy/dialects/postgresql/__init__.py __all__ > list... > > % grep ARRAY dialects/postgresql/__init__.py > % > > The same for orm, sql, can't import tham from sqlalchemy.. Should make > from sqlalchemy.orm import mapper, relation, ... not just from > sqlalchemy import orm :/ > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
