def _process_ajax_references(self):
        result = {}

        if self.form_ajax_refs:
            for name, options in iteritems(self.form_ajax_refs):
                if isinstance(options, dict):
                    result[name] = self._create_ajax_loader(name, options)
                elif isinstance(options, AjaxModelLoader):
                    result[name] = options
                else:
                    raise ValueError('%s.form_ajax_refs can not handle %s types' % (self, type(options)))

        return result
Process `form_ajax_refs` and generate model loaders that
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/base.py/BaseModelView._process_ajax_references