class foxes.utils.FDict(foxes.utils.Dict)[source]

A dictionary with factory support

Attributes

store_created: bool

Flag for storing created objects

factories: list of foxes.utils.Factory

The factories

Public members

FDict(*args, store_created=True, **kwargs)[source]

Constructor.

add_factory(*args, factory=None, **kwargs)[source]

Adds a Factory object.

add_k_factory(*args, **kwargs)[source]

Adds a WakeKFactory.

__contains__(key)[source]

True if the dictionary has the specified key, else False.

__getitem__(key)[source]

x.__getitem__(y) <==> x[y]