def get_group_by_args():
    """
    Get page arguments for group by
    """
    group_by = request.args.get("group_by")
    if not group_by:
        group_by = ""
    return group_by

    Get page arguments for group by
    
flask_appbuilder/urltools.py