@require_GET
@require_can_edit_apps
def get_xform_source(request, domain, app_id, module_id, form_id):
    app = get_app(domain, app_id)
    try:
        form = app.get_module(module_id).get_form(form_id)
    except __HOLE__:
        raise Http404()
    return _get_xform_source(request, app, form)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/app_manager/views/forms.py/get_xform_source