agam1092005 opened a new pull request, #585:
URL: https://github.com/apache/burr/pull/585

   ## Fix State.keys() displaying values (#409)
   
   **Problem:** `State.keys()` was showing both keys and values when printed, 
making it unusable with large objects (JSON responses, dataframes, embeddings).
   
   **Solution:** Added custom `StateKeys` wrapper class that provides clean 
`__repr__` showing only keys, while maintaining full `KeysView` compatibility 
(iteration, membership, length).
   
   **Changes:**
   - Added `StateKeys` class with clean string representation
   - Override `State.keys()` to return `StateKeys` wrapper
   - Maintains backward compatibility for all KeysView operations
   
   **Testing:**
   - All existing tests pass
   - Added comprehensive test coverage for new functionality
   - Verified fix resolves the reported issue
   
   Fixes #409


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to