def call_action(action_name, context=None, **kwargs):
 if (context is None):
  context = {}
 context.setdefault('user', '127.0.0.1')
 context.setdefault('ignore_auth', True)
 return logic.get_action(action_name)(context=context, data_dict=kwargs)

def call_action ( action_name , context = None , ** kwargs ) : if ( context is None ) : context = { } context . setdefault ( 'user' , '127.0.0.1' ) context . setdefault ( 'ignore_auth' , True ) return logic . get_action ( action_name ) ( context = context , data_dict = kwargs )
call the named ckan .