def set_key(cls, k, v):
        """Allows attaching stateless information to the class using the
        flask session dict
        """
        k = cls.__name__ + "__" + k
        session[k] = v
Allows attaching stateless information to the class using the
        flask session dict
        
flask_appbuilder/views.py