atom.dict module

class atom.dict.Dict(key=None, value=None, default=None)[source]

Bases: atom.catom.Member

A value of type dict.

clone()[source]

Create a clone of the member.

This will clone the internal dict key and value members if they exist.

set_index(index)[source]

Assign the index to this member.

This method is called by the Atom metaclass when a class is created. This makes sure the index of the internal members are also updated.

set_name(name)[source]

Assign the name to this member.

This method is called by the Atom metaclass when a class is created. This makes sure the name of the internal members are also updated.