def fill_columns(row, constants=None):
    """Fill columns whose value is constant."""

    if constants:
        for key, constant_value in constants.items():
            row[key] = constant_value
    return row