(domain, timestamp)
return result
The timestamp is set once at the beginning of each loading
    of the page, so that this result is only calculated once
    per page load.
The timestamp is set once at the beginning of each loading
    of the page, so that this result is only calculated once
    per page load.
The timestamp is set once at the beginning of each loading of the page so that this result is only calculated once per page load .
def get_visit_scheduler_forms(domain, timestamp):
    """
    The timestamp is set once at the beginning of each loading
    of the page, so that this result is only calculated once
    per page load.
    """
    result = []
    for app_id in get_app_ids_in_domain(domain):
        app = get_latest_released_app(domain, app_id)
        if app and not app.is_deleted() and not app.is_remote_app():
            for module in app.get_modules():
                for form in module.get_forms():
                    if isinstance(form, AdvancedForm) and form.schedule and form.schedule.enabled:
                        result.append({
                            'id': get_combined_id(app_id, form.unique_id),
                            'text': form.full_path_name,
                        })
    return result
def get_visit_scheduler_forms ( domain , timestamp ) : result = [ ] for app_id in get_app_ids_in_domain ( domain ) : app = get_latest_released_app ( domain , app_id ) if app and not app . is_deleted ( ) and not app . is_remote_app ( ) : for module in app . get_modules ( ) : for form in module . get_forms ( ) : if isinstance ( form , AdvancedForm ) and form . schedule and form . schedule . enabled : result . append ( { 'id' : get_combined_id ( app_id , form . unique_id ) , 'text' : form . full_path_name , } ) return result