def _get_clean_data_projection_dict(self):
    project_dict = {col: {'$ifNull': [('$client.%s' % col), ('$producer.%s' % col)]} for col in self._config.relevant_cols_nested}
    for (col, field1, field2) in self._config.relevant_cols_general_alternative:
        project_dict[col] = {'$ifNull': [('$%s' % field1), ('$%s' % field2)]}
    for col in self._config.relevant_cols_general:
        project_dict[col] = ('$%s' % col)
    return project_dict
def _get_clean_data_projection_dict(self):
    project_dict = {col: {'$ifNull': [('$client.%s' % col), ('$producer.%s' % col)]} for col in self._config.relevant_cols_nested}
    for (col, field1, field2) in self._config.relevant_cols_general_alternative:
        project_dict[col] = {'$ifNull': [('$%s' % field1), ('$%s' % field2)]}
    for col in self._config.relevant_cols_general:
        project_dict[col] = ('$%s' % col)
    return project_dict