Skip to content

Conversation

@JHSeo-git
Copy link

Fixes #116

Problem

This pull request fixes an AttributeError raised when using AsyncRedisSaver and calling aget_state_history().

Solution

The fix aligns the async implementation with the existing sync version.

Result

aget_state_history() and related async checkpoint operations now work reliably without raising attribute errors

Thank you for maintaining this great project!
I’ve mirrored the sync version’s logic and verified that the async implementation now behaves consistently.

Modified the AsyncRedisSaver to access the blob attribute using JSON path syntax. Enhanced the sorting mechanism for parent checkpoints and ensured the results map correctly extracts type and blob pairs, accommodating both direct and JSON path access. This improves compatibility and consistency in data handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AsyncRedisSaver: AttributeError: 'Document' object has no attribute 'blob' when calling aget_state_history()

1 participant