Deprecation of "multi" parameter in Recipe Attributes 2.0
- 07 Mar 2023
- Print
- DarkLight
- PDF
Deprecation of "multi" parameter in Recipe Attributes 2.0
- Updated On 07 Mar 2023
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
A deprecation of the “multi” parameter in function
update_attributes()
is scheduled for the future SDK release of version 1.60.0.
Starting from this release (1.59.4), a deprecation warning will appear whenever this parameter is used.
multi is no longer needed to indicate attributes with multi/single selection:
- To create a multiple selection Attribute (checkbox), use
dl.AttributesTypes.CHECKBOX
.
- To create a single selection Attribute (radio-button), use
dl.AttributesTypes.RADIO_BUTTON
Other available attributes types (won’t be affected): YESNO, FREETEXT, SLIDER (e-num).