def _id_from_session(self, session):
        id_from_session = self.middleware.id_from_session
        try:
            return id_from_session(session)
        except __HOLE__ as e:
            raise IdentificationError(e)
dataset/ETHPy150Open MontmereLimited/django-lean/django_lean/lean_analytics/kissmetrics.py/KissMetrics._id_from_session