[sqlalchemy] pickling an engine onject

2011-01-28 Thread Eduardo
Hi,
I saw that there is a way to serialize a query object is there a way
to serialize an engine object?
Thanks

-- 
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 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.



Re: [sqlalchemy] pickling an engine onject

2011-01-28 Thread Michael Bayer
assuming you saw : http://www.sqlalchemy.org/docs/core/serializer.html  for 
serializing queries.

engines can't be serialized since TCP connections don't support it.You 
can only do memoization tricks like those in the serializer extension to 
create/locate a new engine on the other side.

On Jan 28, 2011, at 10:49 AM, Eduardo wrote:

 Hi,
 I saw that there is a way to serialize a query object is there a way
 to serialize an engine object?
 Thanks
 
 -- 
 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 
 sqlalchemy+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/sqlalchemy?hl=en.
 

-- 
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 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.