lisa.wlgen.rta.RTAPhaseTreeChildren#

class lisa.wlgen.rta.RTAPhaseTreeChildren(children)[source]#

Bases: SimpleHash, Mapping

Proxy object used by RTAPhaseTree to store the children list.

It provides a mapping interface where children can be looked up by name if they have one.

Parameters:

children (list(RTAPhaseTree)) – List of the children.

Attributes

__reversed__ inherited

See collections.abc.Mapping.__reversed__

Methods

__getitem__()

__iter__()

__len__()

HASH_COERCE() inherited

Used to coerce the values of self.__dict__ to hashable values.

__class_getitem__() inherited

See collections.abc.Iterable.__class_getitem__()

__contains__() inherited

See collections.abc.Mapping.__contains__()

get() inherited

See collections.abc.Mapping.get()

items() inherited

See collections.abc.Mapping.items()

keys() inherited

See collections.abc.Mapping.keys()

values() inherited

See collections.abc.Mapping.values()

Attributes#

RTAPhaseTreeChildren.__reversed__ = None#

Methods#

RTAPhaseTreeChildren.__getitem__(key)[source]#
RTAPhaseTreeChildren.__iter__()[source]#
RTAPhaseTreeChildren.__len__()[source]#
RTAPhaseTreeChildren.HASH_COERCE(x, coerce)#

Inherited method, see lisa.utils.SimpleHash.HASH_COERCE()

Used to coerce the values of self.__dict__ to hashable values.

classmethod RTAPhaseTreeChildren.__class_getitem__()#

Inherited method, see collections.abc.Iterable.__class_getitem__()

RTAPhaseTreeChildren.__contains__()#

Inherited method, see collections.abc.Mapping.__contains__()

RTAPhaseTreeChildren.get()#

Inherited method, see collections.abc.Mapping.get()

RTAPhaseTreeChildren.items()#

Inherited method, see collections.abc.Mapping.items()

RTAPhaseTreeChildren.keys()#

Inherited method, see collections.abc.Mapping.keys()

RTAPhaseTreeChildren.values()#

Inherited method, see collections.abc.Mapping.values()