Hi,
I'd like to be able to extract variables from a template source. I see
that jinja2.meta.find_undeclared_variables() does that, but it only gives
the top-level variable names in the context. For example, if I have:
{{ foo.bar }}
find_undeclared_variables() returns: set(['foo']), but I'd like to know
that 'foo.bar' was in the template.
I'm very new to Jinja -- is such a thing reasonable? Any suggestions for
how I might go about doing that?
Thanks,
Mike
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.