You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use chests to distribute data. In most cases, the data consumer either doesn't want to change the contents of the chest or doesn't even have the file permissions to. chests write the .keys to disk at close, even if they haven't changed. __delitem__ and __setitem__ both delete files even before a flush, so it might be nice to protect them from programmer errors.
Does this seem useful enough to belong in chest itself, or should I implement this on my end in a subclass or the likes?
The text was updated successfully, but these errors were encountered:
I use chests to distribute data. In most cases, the data consumer either doesn't want to change the contents of the chest or doesn't even have the file permissions to. chests write the
.keys
to disk at close, even if they haven't changed.__delitem__
and__setitem__
both delete files even before aflush
, so it might be nice to protect them from programmer errors.Does this seem useful enough to belong in chest itself, or should I implement this on my end in a subclass or the likes?
The text was updated successfully, but these errors were encountered: