def _get_expiry_timestamp(cls, session_server):
        """
        :type session_server: core.SessionServer

        :rtype: datetime.datetime
        """

        timeout_seconds = cls._get_session_timeout_seconds(session_server)
        time_now = datetime.datetime.now()

        return time_now + datetime.timedelta(seconds=timeout_seconds)
def _get_expiry_timestamp ( cls , session_server ) : timeout_seconds = cls . _get_session_timeout_seconds ( session_server ) time_now = datetime . datetime . now ( ) return time_now + datetime . timedelta ( seconds = timeout_seconds )
:type session_server: core.SessionServer

        :rtype: datetime.datetime