Skip to content

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

Description

@zilto

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions