Skip to content

v1.0.2

Latest
Compare
Choose a tag to compare
@PaulSchweizer PaulSchweizer released this 30 Jan 11:21

Fixes an error we encountered with printing a node. If a node receives a precomputed input that is a string, and you try to print the node, it errors with the error

ValueError: expected '}' before end of string

The reason for that is that it tires to f-print a truncated string representation of a dictionary, which includes a curly brace.
Curly braces, however, have special meaning in f-string. It then errors out since the string input has not been sanitized.

String sanitation before passing the string to the f-string method has now been added!