baybe.utils.conversion.normalize_convertible2str_sequence

baybe.utils.conversion.normalize_convertible2str_sequence(value: Sequence[str | bool], self: type, field: Attribute)[source]

Sort and convert values for a sequence of string-convertible types.

If the sequence is a string itself, this is blocked to avoid unintended iteration over its characters.

Return type:

tuple[str | bool, ...]