def get_app(self) -> Flask:
        """
        Get current or configured flask app

        :return: Flask App
        """
        if self.app:
            return self.app
        else:
            return current_app

        Get current or configured flask app

        :return: Flask App
        
flask_appbuilder/base.py