Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get all variable from template file #7

Open
baijian opened this issue Sep 16, 2021 · 1 comment
Open

How to get all variable from template file #7

baijian opened this issue Sep 16, 2021 · 1 comment

Comments

@baijian
Copy link

baijian commented Sep 16, 2021

I want to get all variable from template file, is that any method?

@baijian
Copy link
Author

baijian commented Sep 16, 2021

same like python module:
jinja2.meta.find_undeclared_variables(ast)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant