def _reset_case_state(self):
        self.case.case_json = {}
        self.case.deleted = False

        # hard-coded normal properties (from a create block)
        for prop, default_value in KNOWN_PROPERTIES.items():
            setattr(self.case, prop, default_value)

        self.case.closed = False
        self.case.modified_on = None
        self.case.closed_on = None
        self.case.closed_by = ''
        self.case.opened_by = None
Clear known case properties, and all dynamic properties
dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/backends/sql/update_strategy.py/SqlCaseUpdateStrategy._reset_case_state