On Jun 12, 2012, at 10:19 AM, Richard Wackerbarth wrote: >Perhaps you should consider a different strategy that does not couple so >tightly the SQL schema with the parameters. > >Rather that having an object which tries to keep everything directly on the >object, place many of those values in a dictionary and do (key, value) >lookups on the dictionary rather expecting the key to be a property of the >object itself. > >That way, additional values can be associated with the object without >changing the underlying database schema.
It's a good idea, and I've thought about that. The Pendings database is essentially that. Of course, switching to it is itself a schema migration. ;) Maybe I should just renege on my beta1 promise ;). -Barry
signature.asc
Description: PGP signature
_______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9