baybe.utils.basic.to_tuple¶
- baybe.utils.basic.to_tuple(x: Sequence)[source]¶
Convert any sequence into a tuple.
This wrapper is only used to avoid mypy warnings for attrs converters: * https://github.com/python/mypy/issues/8417 * https://github.com/python/mypy/issues/8389 * https://github.com/python/mypy/issues/5313
- Return type: