Skip to content

Inconsistent parsing of kwargs in some Children of MongoStore #1013

@jmmshn

Description

@jmmshn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions