On 3 Dez., 18:32, Michael Bayer <[EMAIL PROTECTED]> wrote:
> I would also posit that PyAMF's behavior might be inappropriate in  
> this case.  InstrumentedList is a subclass of list so I don't  
> immediately see why it would treat it differently.

Upon further inspection, this was exactly the case. Basically telling
PyAMF to encode lists as list, not as generic object, solved my
problem. For the record, here's how it works (using PyAMF 0.3.1):

amf3.Encoder.type_map.insert(0, ((list,), "writeList"))

Michael, you saved my day. Thank you :-)
--~--~---------~--~----~------------~-------~--~----~
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