@property
    def creating_user(self):
        try:
            creator_id = self.case['opened_by']
        except KeyError:
            creator_id = None
            if self.case in 'actions':
                for action in self.case['actions']:
                    if action['action_type'] == 'create':
                        action_doc = CommCareCaseAction.wrap(action)
                        creator_id = action_doc.get_user_id()
                        break

        if not creator_id:
            return None
        return self._user_meta(creator_id)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/standard/cases/data_sources.py/CaseInfo.creating_user/swapped operands of `in`