It looks like we have a few places where the __init__ skips the MongoStore.__init__ which can leave some flags like safe_update unset.
|
super(MongoStore, self).__init__(**kwargs) # lgtm |
It's not clear to me why we use super(MongoStore, self) here instead of super(). Perhaps it allow more fine-grained re-work of some of the initialization behavior, but it does create some weird edge cases that are hard to catch.