I use it like this:
child_args = {'parent':{'options': parent_options},
'template':{'options':template_options},
'owner':{'options':[(u.user_id, u.user_name) for
u in User.query().all()]},
'group':{'options':[(g.group_id, g.group_name)
for g in Group.query().all()]},
'weight':{'options': range(-99,100)}
}
# where all children in this case are a SingleSelectField
# at the end I return the following dict:
return dict(form = form,
form_data = form_data,
child_args = child_args)
...and the templates contains the following:
${form.display(form_data, child_args = child_args)}