7 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: Pickling/unpickling ...| From | Sent On | Attachments |
|---|---|---|
| Nabla | 27 Jun 2008 00:24 | |
| Michael Bayer | 27 Jun 2008 06:56 | |
| Barry Hart | 27 Jun 2008 09:09 | |
| Petr Dlabal | 27 Jun 2008 09:23 | |
| Petr Dlabal | 27 Jun 2008 09:31 | |
| az...@svilendobrev.com | 27 Jun 2008 09:42 | |
| Michael Bayer | 27 Jun 2008 10:54 |
| Subject: | [sqlalchemy] Re: Pickling/unpickling mapped class![]() |
|---|---|
| From: | Petr Dlabal (dla...@gmail.com) |
| Date: | 06/27/2008 09:31:39 AM |
| List: | com.googlegroups.sqlalchemy |
Thank you for the tip, I'll try Peter
On Fri, Jun 27, 2008 at 6:09 PM, Barry Hart <barr...@yahoo.com> wrote:
I use Gnosis Utils for a similar purpose. The API is similar to pickle, but if you need to control the details of the serialization (which fields get serialized and how), then that is quite different. Gnosis has a concept called "mutators" for this.
Barry
----- Original Message ---- From: Michael Bayer <mike...@zzzcomputing.com> To: sqla...@googlegroups.com Sent: Friday, June 27, 2008 9:56:59 AM Subject: [sqlalchemy] Re: Pickling/unpickling mapped class
On Jun 27, 2008, at 3:25 AM, Nabla wrote:
Is there some easy solution of this problem?
yes, the receiving application needs to have the same mapper() setup as the sender. If you use the "declarative" extension to setup your classes, this task is made easier.
And additional question - is there some "simple" way how to "convert" (marshal, serialize) reflected sqlalchemy class to "human- readable" XML?
we dont have an XML serializer but there might be something on Pypi for that.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to sqla...@googlegroups.com
To unsubscribe from this group, send email to
sqla...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---




