'Create Flask blueprint. You will generally not use it
:param appbuilder:
the AppBuilder object
:param endpoint:
endpoint override for this blueprint, will assume class name if not provided
:param static_folder:
the relative override for static folder, if omitted application will use the appbuilder static'

def create_blueprint(self, appbuilder, endpoint=None, static_folder=None):

    self.appbuilder = appbuilder
    self.endpoint = (endpoint or self.__class__.__name__)
    if (self.route_base is None):
        self.route_base = ('/' + self.__class__.__name__.lower())
    self.static_folder = static_folder
    if (not static_folder):
        self.blueprint = Blueprint(self.endpoint, __name__, url_prefix=self.route_base, template_folder=self.template_folder)
    else:
        self.blueprint = Blueprint(self.endpoint, __name__, url_prefix=self.route_base, template_folder=self.template_folder, static_folder=static_folder)
    self._register_urls()
    return self.blueprint
