DynamicSpace.spaces#

property DynamicSpace.spaces#

Read-only mapping of names to child UserSpace objects.

Returns a dictionary-like view of all named child spaces in this space. This does not include ItemSpace objects, which are accessed via itemspaces.

Returns:

Dictionary-like mapping of names to UserSpace objects

Return type:

SpaceView

Example

>>> parent.spaces
{'Child1': <UserSpace Model1.Parent.Child1>,
'Child2': <UserSpace Model1.Parent.Child2>}

>>> parent.spaces['Child1']
<UserSpace Model1.Parent.Child1>

See also