unitxt icon indicating copy to clipboard operation
unitxt copied to clipboard

Create Rename and deprecate RenameFields

Open yoavkatz opened this issue 1 year ago • 0 comments

Today, RenameFields uses a map.

RenameFields(field_to_field={"labels": "label"}),

to simply the experience we should have

Rename(field="labels", to_field="label").

We should replace all existing use in documentation of RenameFields with Rename and deprecate RenameFields.

yoavkatz avatar Aug 08 '24 11:08 yoavkatz