@property
    def rows(self):
        if self.config['location_id']:
            selected_location = SQLLocation.objects.get(
                location_id=self.config['location_id']
            )
            key = selected_location.location_type.name.lower() + '_id'

            data = self.custom_data(
                domain=self.config['domain'],
                filters={
                    key: [Choice(value=selected_location.location_id, display=selected_location.name)],
                }
            )
            rows = []
            for row in self.row_config:
                row_data = []
                for idx, cell in enumerate(row):
                    if isinstance(cell, tuple):
                        x = data.get(cell[0], 0)
                        y = data.get(cell[1], 0)
                        row_data.append(x + y)
                    else:
                        row_data.append(data.get(cell, cell if cell == '--' or [0, 1] in idx else 0))
                rows.append(row_data)
            return rows
dataset/ETHPy150Open dimagi/commcare-hq/custom/icds_reports/sqldata.py/BirthsAndDeaths.rows/swapped operands of `in`