Skip to content

Conversation

madhupalu
Copy link
Contributor

…ct when redis key is NULL(#277)

Signed-off-by: madhu Pal [email protected]

What I did
Fixed __raw_to_typed() api to return correct typed object when redis key is NULL.
How I did
As we store "NULL:NULL" as a placeholder for objects with no attributes, the __raw_to_typed() returns None, which causes get_entry() returns None for objects exists with no attributes.

To fix this issue - added code in __raw_to_typed() to return typed_data = {"NULL":"NULL"} when Key = NULL

…ct when redis key is NULL(#277)

Signed-off-by: madhu Pal <[email protected]>
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.

1 participant