-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Waiting on PyPIFixed in Master, waiting on PyPI to be updatedFixed in Master, waiting on PyPI to be updatedbug
Description
If you instantiate NoDB and set cache to True, then you can save and object and delete the object.
If you load the object at at this point, the deleted object will be returned since it's still in the cache. Delete is not cache aware; it deletes from the s3 bucket, but doesn't update the cache.
nodb=NoDB()
nodb.cache=True
nodb.index = 'name'
nodb.save({'name': 'jeff', 'age': 19})
nodb.delete('jeff')
nodb.load('jeff') #=> {'name': 'jeff', 'age': 19}That's probably not the expected behavior.
Metadata
Metadata
Assignees
Labels
Waiting on PyPIFixed in Master, waiting on PyPI to be updatedFixed in Master, waiting on PyPI to be updatedbug