Just came across a scenario where I wanted to get hold of the original_data_dict in an action but I wanted to default it to None (i.e. def the_action(original_data_dict=None). If you do this and call the action through CKAN (i.e. through the get_action toolkit function), you get None instead of the original_data_dict parameter value.
This is described in the doc:
To specify these parameters you must include them as args, not kwargs.
but I can't remember whether there was a good reason for that or not. It'd be good to check if this is a technical limitation or something we can open up a bit more.
Just came across a scenario where I wanted to get hold of the
original_data_dictin an action but I wanted to default it toNone(i.e.def the_action(original_data_dict=None). If you do this and call the action through CKAN (i.e. through theget_actiontoolkit function), you getNoneinstead of theoriginal_data_dictparameter value.This is described in the doc:
but I can't remember whether there was a good reason for that or not. It'd be good to check if this is a technical limitation or something we can open up a bit more.