Skip to content

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

@zilto

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

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