models: remove the need for parameter registration
commitbc3b1340880ed2e54616df4d5751764d57b4b162
authorDavid Aguilar <davvid@gmail.com>
Thu, 23 Oct 2008 10:53:47 +0000 (23 03:53 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 23 Oct 2008 10:53:47 +0000 (23 03:53 -0700)
treebcca0ccbfd3b5959bc795e4d809c28fbd9e9c0b7
parente13d8e1fdae2df93c95f42160e4b025ef9275a89
models: remove the need for parameter registration

Previously, model would only export attributes that it knew about
due to a create() call.  It now determines parameter names dynamically
by filtering __dict__ with some simple rules.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/model.py