(self, case_id, couch_user, accessing_object)
return case
:param accessing_object: object that is calling 'get_case'.
            See ``corehq.apps.registry.models.RegistryAuditHelper.data_accessed``
        :return:
:param accessing_object: object that is calling 'get_case'.
            See ``corehq.apps.registry.models.RegistryAuditHelper.data_accessed``
        :return:
: param accessing_object : object that is calling get_case . See corehq . apps . registry . models . RegistryAuditHelper . data_accessed : return :
def get_case(self, case_id, couch_user, accessing_object):
        """
        :param accessing_object: object that is calling 'get_case'.
            See ``corehq.apps.registry.models.RegistryAuditHelper.data_accessed``
        :return:
        """
        from corehq.form_processor.backends.sql.dbaccessors import CaseAccessorSQL

        case = CaseAccessorSQL.get_case(case_id)
        self.check_data_access(couch_user, [case.type], case.domain)
        self.log_data_access(couch_user.get_django_user(), case.domain, accessing_object, filters={
            "case_type": case.type,
            "case_id": case_id
        })
        return case
def get_case ( self , case_id , couch_user , accessing_object ) : from corehq . form_processor . backends . sql . dbaccessors import CaseAccessorSQL case = CaseAccessorSQL . get_case ( case_id ) self . check_data_access ( couch_user , [ case . type ] , case . domain ) self . log_data_access ( couch_user . get_django_user ( ) , case . domain , accessing_object , filters = { "case_type" : case . type , "case_id" : case_id } ) return case