[ckan-dev] chained actions

Ian Ward ian at excess.org
Thu Mar 28 12:47:47 UTC 2019


I thought I had merged that PR. Thanks for the reminder, it's in master now!

On Thu, Mar 28, 2019 at 4:27 AM Jari Voutilainen
<jari.voutilainen at iki.fi> wrote:
>
> 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> 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
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> --
> Jari Voutilainen
> 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



More information about the ckan-dev mailing list