def __init__(self, storage, request=None, tpl=None):
        self.request = request
        self.session = {}

        if request:
            try:
                self.session = request.session
            except __HOLE__:
                # in case of token auth session can be disabled at all
                pass

        super(DjangoStrategy, self).__init__(storage, tpl)
dataset/ETHPy150Open st4lk/django-rest-social-auth/rest_social_auth/strategy.py/DRFStrategy.__init__