Re: Disconnected ORM objects

2008-06-13 Thread Karish
Well, my objects start out as something disconnected (eg, an email message and its associated email addresses are download via POP3), and only then am I adding everything to the database. So the download_email_messages method of my EmailClient class would return a Python list of EmailMessage

Re: Disconnected ORM objects

2008-06-13 Thread James Bennett
On Fri, Jun 13, 2008 at 11:01 PM, Karish <[EMAIL PROTECTED]> wrote: > I want to be able to use my ORM objects (eg, EmailMessage, > EmailAddress) in some cases without a database. For example, I want to > write a function like download_email_messages that will download email > messages and return

Disconnected ORM objects

2008-06-13 Thread Karish
Hi, I want to be able to use my ORM objects (eg, EmailMessage, EmailAddress) in some cases without a database. For example, I want to write a function like download_email_messages that will download email messages and return an EmailMessage object which has a set of EmailAddress objects (for the