Skip to content

v0.0.5

Choose a tag to compare

@ericbstie ericbstie released this 07 Jan 17:20

Added the start_indent argument to Query which allows for queries like these:

print(" "*8 + "something " + Query(Something, indents=2, start_indent=8))
        something {  # Notice how the first bracket is not indented by the start_indent
          id  # Fields are indented by indents (2) + start_indent (8) = 10 spaces
          name
          age
        }  # This line is indented by 8 spaces