Hi everyone!
I'm new in SQLAlchemy and this is my code:

mappers['indicatorgroups'] = mapper(IndicatorGroups, tables['indicatorgroups'])

mappers['groupgroups'] = mapper(GroupGroups, tables['groupgroups'],
                                        properties = {

'idindicatorgroupcontainer' : relation(IndicatorGroups,
primaryjoin=sql.and_(IndicatorGroups.idindicatorgroup==GroupGroups.idindicatorgroupcontainer)),'idindicatorgroupcontained'
: relation(IndicatorGroups,
primaryjoin=sql.and_(IndicatorGroups.idindicatorgroup==GroupGroups.idindicatorgroupcontained)),
                                            },allow_column_override=True)

when i do:

 g=IndicatorGroups()

I have this error:
Module sqlalchemy.sql.visitors, line 56, in traverse
AttributeError: 'bool' object has no attribute 'get_children'

I don't know how to fix this. Does anyone knows about this problem??

Thanks a lot


Module sqlalchemy.sql.visitors, line 56, in traverse
AttributeError: 'bool' object has no attribute 'get_children'

-- 
Lur Ibargutxi
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to