def get_session(self, key):
        """
        :returns: DelegatingSession
        """
        # a SimpleSession:
        session = self.session_handler.do_get_session(key)
        if (session):
            return self.create_exposed_session(session, key)
        else:
            return None
def get_session ( self , key ) : session = self . session_handler . do_get_session ( key ) if ( session ) : return self . create_exposed_session ( session , key ) else : return None
:returns: DelegatingSession