

def __call__(self, form, form_opts=None, field_args={
    
}):
    '\n            Render macro rule.\n\n            :param form:\n                Form object\n            :param form_opts:\n                Form options\n            :param field_args:\n                Optional arguments that should be passed to the macro\n        '
    context = helpers.get_render_ctx()
    macro = self._resolve(context, self.macro_name)
    if (not macro):
        raise ValueError(('Cannot find macro %s in current context.' % self.macro_name))
    opts = dict(self.default_args)
    opts.update(field_args)
    return macro(**field_args)

dataset/ETHPy150Open mrjoes/flask-admin/flask_admin/form/rules.py Macro.__call__/VarMisuse@87/191 `opts`->`field_args`