def to_mixed_case(string: str):
    """
    foo_bar_baz becomes fooBarBaz. Based on
    pydantic's `to_camel` utility, except without
    the initial capital letter.
    """
    words = string.split("_")
    return "".join([words[0]] + [w.capitalize() for w in words[1:]])