(self)
return response
Used for creating form-based exports (XForm + app id pair).
Used for creating form-based exports (XForm + app id pair).
Used for creating form - based exports ( XForm + app id pair ) .
def get_form_rmi_response(self):
        """
        Used for creating form-based exports (XForm + app id pair).
        """
        modules_by_app, forms_by_app_by_module = self._get_modules_and_forms(self.as_dict)
        response = AppFormRMIResponse(
            app_types=self._get_app_type_choices_for_forms(self.as_dict),
            apps_by_type=self._get_applications_by_type(self.as_dict),
            modules_by_app=modules_by_app,
            forms_by_app_by_module=forms_by_app_by_module,
            labels=self.form_labels,
            placeholders=self.form_placeholders,
        )
        if self.as_dict:
            response = response._asdict()
        return response
def get_form_rmi_response ( self ) : modules_by_app , forms_by_app_by_module = self . _get_modules_and_forms ( self . as_dict ) response = AppFormRMIResponse ( app_types = self . _get_app_type_choices_for_forms ( self . as_dict ) , apps_by_type = self . _get_applications_by_type ( self . as_dict ) , modules_by_app = modules_by_app , forms_by_app_by_module = forms_by_app_by_module , labels = self . form_labels , placeholders = self . form_placeholders , ) if self . as_dict : response = response . _asdict ( ) return response