# atom.dict module

class atom.dict.DefaultDict(key=None, value=None, default=None, *, missing=None)

  Bases: `Member`

  A value of type dict implementing __missing__

  clone()

    Create a clone of the member.

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

  set_index(index)

    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)

    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.

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

  Bases: `Member`

  A value of type dict.

  clone()

    Create a clone of the member.

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

  set_index(index)

    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)

    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.