def METHOD_NAME(self, id: str, resource_id: str):
    u'''Data dictionary view: edit field labels and descriptions'''
    data_dict = self._prepare(id, resource_id)
    fields = data_dict[u'fields']
    data = dict_fns.unflatten(tuplize_dict(parse_params(request.form)))
    info = data.get(u'info')
    if not isinstance(info, list):
        info = []
    info = info[:len(fields)]
    get_action(u'datastore_create')(
        {}, {
            u'resource_id': resource_id,
            u'force': True,
            u'fields': [{
                u'id': f[u'id'],
                u'type': f[u'type'],
                u'info': fi if isinstance(fi, dict) else {}
            } for f, fi in zip_longest(fields, info)]
        }
    )
    h.flash_success(
        _(
            u'Data Dictionary saved. Any type overrides will '
            u'take effect when the resource is next uploaded '
            u'to DataStore'
        )
    )
    return h.redirect_to(
        u'datastore.dictionary', id=id, resource_id=resource_id
    )