Deprecation of "multi" parameter in Recipe Attributes 2.0
  • 07 Mar 2023
  • Dark
    Light
  • PDF

Deprecation of "multi" parameter in Recipe Attributes 2.0

  • Dark
    Light
  • PDF

Article summary

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).