On Oct 30, 2007, at 5:41 AM, Felix Schwarz wrote:

>
>
> for address in foo.addresses:
>      foo.addresses.remove(address)
>      session.delete(address)
> session.delete(foo)
>
> foo = User()
> session.save(foo)
> foo.id = 1
> foo_addr = Address()
> session.save(foo_addr)
> foo_addr.street = "Picadelly Circus"
> foo.addresses.append(foo_addr)
>
> transaction.commit()
> ---------------------------------------------------------------------- 
> -------------

OK, both tickets are fixed in r3681.  you can use the trunk if you  
like or it will be available in version 0.4.1.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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