[sqlalchemy] Re: pickle and mapped objects

2007-01-15 Thread Manlio Perillo
Michael Bayer ha scritto: if you can pickle the object by itself, then id guess youre using lazy loaders with the query.options(lazyload('something')) call, which places per-object lazy loaders (i.e. callables) on your objects. I'm not sure, since I never use lazy loaders (I use Twisted).

[sqlalchemy] Re: pickle and mapped objects

2007-01-14 Thread Michael Bayer
if you can pickle the object by itself, then id guess youre using lazy loaders with the query.options(lazyload('something')) call, which places per-object lazy loaders (i.e. callables) on your objects. either make sure the lazy loaders are fired off, or make lazyload the default loading for that