def unquote(value: str) -> str:
    """Removes the prefix and suffix if they are identical quotes"""
    if value[0] in {'"', "'"} and value[0] == value[-1]:
        return value[1:-1]
    return value