def get_values(instance, columns):
    """
    Get values from instance for given columns.
    """
    values = [
        "{0}".format(getattr(instance, c) or "") for c in columns
    ]

    return values