burr icon indicating copy to clipboard operation
burr copied to clipboard

qol: `State.keys()` should only display keys and not values.

Open zilto opened this issue 1 year ago • 0 comments

Currently, printing State.keys() displays the values too, which makes it hardly usable when the state contains large objects (JSON responses, dataframes, embedding vectors; see picture)

This should be a simple fix by modifying the State.__str__() method. Be mindful of the difference between __str__ and __repr__ (reference)

image

zilto avatar Oct 29 '24 15:10 zilto