def organization_patch(context, data_dict):
 _check_access('organization_patch', context, data_dict)
 show_context = {'model': context['model'], 'session': context['session'], 'user': context['user'], 'auth_user_obj': context['auth_user_obj']}
 organization_dict = _get_action('organization_show')(show_context, {'id': _get_or_bust(data_dict, 'id')})
 patched = dict(organization_dict)
 patched.pop('display_name', None)
 patched.update(data_dict)
 return _update.organization_update(context, patched)

def organization_patch ( context , data_dict ) : _check_access ( 'organization_patch' , context , data_dict ) show_context = { 'model' : context [ 'model' ] , 'session' : context [ 'session' ] , 'user' : context [ 'user' ] , 'auth_user_obj' : context [ 'auth_user_obj' ] } organization_dict = _get_action ( 'organization_show' ) ( show_context , { 'id' : _get_or_bust ( data_dict , 'id' ) } ) patched = dict ( organization_dict ) patched . pop ( 'display_name' , None ) patched . update ( data_dict ) return _update . organization_update ( context , patched )
patch an organization .