[ckan-dev] chained actions

Jean Pommier jean.pommier at pi-geosolutions.fr
Thu Mar 28 09:46:52 UTC 2019


Great, thank you for the information, Jari,

Best,

Jean

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp at pi-geosolutions.fr
Web : www.pi-geosolutions.fr

Le 28/03/2019 à 09:26, Jari Voutilainen a écrit :
> Hi,
>
> there's pull request for chaining core actions 
> https://github.com/ckan/ckan/pull/4509. But currently you can't do it 
> and you need to override them with calling the original action 
> instead. Somewhat ugly example what we used can be found here 
> https://github.com/6aika/sixodp/blob/master/ckanext/ckanext-sixodp_scheming/ckanext/sixodp_scheming/logic/action.py.
>
> Regards,
> Jari
>
> On Wed, Mar 27, 2019 at 1:26 PM Jean Pommier 
> <jean.pommier at pi-geosolutions.fr 
> <mailto:jean.pommier at pi-geosolutions.fr>> wrote:
>
>     Hi,
>
>     When implementing interface IActions, I'm wondering : is
>     /ckan.plugins.toolkit.chained_action/ usage limited to functions
>     defined in other plugins, or can we also chain core actions, like
>     /organization_list_for_user/, for instance ?
>
>     Thanks,
>
>     Best,
>
>     Jean
>
>     _______________________________________________
>     ckan-dev mailing list
>     ckan-dev at lists.okfn.org <mailto:ckan-dev at lists.okfn.org>
>     https://lists.okfn.org/mailman/listinfo/ckan-dev
>     Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> -- 
> Jari Voutilainen
> jari.voutilainen at iki.fi <mailto:jari.voutilainen at iki.fi>
> 040-5538558
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190328/233cfa94/attachment-0002.html>


More information about the ckan-dev mailing list