(app)
return forms
Returns a dict mapping forms to DataSourceConfiguration objects

    This is never used, except for testing that each form in an app will source correctly
Returns a dict mapping forms to DataSourceConfiguration objects
Returns a dict mapping forms to DataSourceConfiguration objects
def get_form_data_sources(app):
    """
    Returns a dict mapping forms to DataSourceConfiguration objects

    This is never used, except for testing that each form in an app will source correctly
    """
    forms = {}

    for module in app.get_modules():
        for form in module.get_forms():
            forms[form.xmlns] = get_form_data_source(app, form)

    return forms
def get_form_data_sources ( app ) : forms = { } for module in app . get_modules ( ) : for form in module . get_forms ( ) : forms [ form . xmlns ] = get_form_data_source ( app , form ) return forms