it means this:

a1 = A(id=1)
session.add(a1)
session.commit()

a2 = A(id=1)
session.add(a2)   # <-- error


On Mar 18, 2014, at 9:59 AM, lars van gemerden <l...@rational-it.com> wrote:

> Hi all,
> 
> Does anyone know hoe to interpret the following error?
> 
>     AssertionError: A conflicting state is already present in the identity 
> map for key (<class 'models.data.database.Keuze'>, (1,))
> 
> Cheers, Lars
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to