[ckan-dev] augment_data function in dictization_functions.py

Dave Caraway dave at fogmine.com
Sun Sep 8 23:50:28 UTC 2013


Can anyone tell me of the intended behavior of the augment_data function in
dictization_functions.py?

There was only one direct test for it (in test_navl.py). I was seeing some
weird behavior with validators and had some of my data values stored in
'__extras'.

I've made several changes to ckan core in my workspace, but at least for
me, this test snippet would fail https://gist.github.com/dwcaraway/6489637

I fixed the failing test by tweaking the augment_data function, but would
like to better understand the function to write some more unit tests in
support of the function.

Thanks!
-Dave

-- 
Dave Caraway
Owner
Fog Mine
dave at fogmine.com
Cell: (937) 985-0867
Fax: (866) 238-3120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130908/9476284a/attachment.html>


More information about the ckan-dev mailing list