def _remove_prefix(value: str, prefix: str) -> str:
    """Returns the value without the prefix.
    Equivalent of str.removeprefix in python 3.9
    """
    prefix_len = len(prefix)
    if value[:prefix_len] == prefix:
        return value[prefix_len:]
    return value