baybe.utils.conversionΒΆ

Conversion utilities.

Functions

fraction_to_float(value, /)

Convert the provided input representing a fraction into a float.

nonstring_to_tuple(x, self, field)

Convert a sequence to tuple but raise an exception for string input.