Skip to content

no_list should be smart_list :) #97

Description

@flypenguin

that would be perfect:

d = dotty(smart_list=True)
some_list = [1, 2, {"work": "right?"}]

# if there is no list - just treat it as a key
d["one.2.three"] = "hey ho"
assert d["one.2.three"] == "hey ho"

# if there is a list, use it :)
d["this.should"] = some_list
assert d["this.should.2.work"] = "right?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions