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

pretty-printing of aos #3

Open
ekshaks opened this issue Apr 10, 2020 · 0 comments
Open

pretty-printing of aos #3

ekshaks opened this issue Apr 10, 2020 · 0 comments

Comments

@ekshaks
Copy link
Member

ekshaks commented Apr 10, 2020

The default output is single-line, infix representation.

use Config.pprint_treelike=True to print in a tree-like format, with implicit and, or.

TODO: tree-like infix representation.

e.g. instead of
((gname & str) | (grp_id & str) | (rels & (rel_title & str)))
print

(gname & str) | 
(grp_id & str) | 
(rels & 
          (rel_title & str))
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