()
Mostly for testing; wait until analytics data sources are up to date
    so that calls to analytics functions return up-to-date

    (modeled very closely after the same function in couchforms.analytics)
Mostly for testing; wait until analytics data sources are up to date
    so that calls to analytics functions return up-to-date
Mostly for testing ; wait until analytics data sources are up to date so that calls to analytics functions return up - to - date
def update_analytics_indexes():
    """
    Mostly for testing; wait until analytics data sources are up to date
    so that calls to analytics functions return up-to-date

    (modeled very closely after the same function in couchforms.analytics)
    """
    CommCareUser.get_db().view('users/by_domain', limit=1).all()
    get_es_new().indices.refresh(USER_INDEX_INFO.index)
def update_analytics_indexes ( ) : CommCareUser . get_db ( ) . view ( 'users/by_domain' , limit = 1 ) . all ( ) get_es_new ( ) . indices . refresh ( USER_INDEX_INFO . index )