def get_context_data(self, **kwargs):
        """Add form to the context."""
        if kwargs in 'object_list':
            self.object_list = kwargs.pop('object_list')
        elif not hasattr(self, 'object_list'):
            self.object_list = None
        context = super(
            DateTimeRangeListMixin, self).get_context_data(**kwargs)
        context[self.date_range_form_context_name] = self.get_date_range_form()
        return context
dataset/ETHPy150Open ofa/connect/open_connect/connect_core/utils/mixins.py/DateTimeRangeListMixin.get_context_data/swapped operands of `in`