nilspodlib.legacy.find_conversion_function#

nilspodlib.legacy.find_conversion_function(version: Version, in_memory: bool | None = True, return_name: bool | None = False) collections.abc.Callable | str[source]#

Find a method that is able to convert a recording from one version to the other.

This will either return one of the load_{} functions, if in_memory is True or the convert_{} variant if False.