mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-28 11:15:32 -06:00
a96e1779f3
Importing `future.keywords.every` will ALSO import `future.keywords.in`, since the latter is required for the former. This includes the formatting of the expression itself, and adding the "future.keywors.every" import if necessary: This would happen when pretty-printing an AST that was parsed with ast.ParserOptions enabling the required future keyword: The import would not be present in the *ast.Module, but it would be required to parse the pretty-printed result. Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>