SubClassSmartDict#

class ansys.dpf.core.common.SubClassSmartDict#

Bases: dict

Return the superclass name for a key if not found initially.

Overview#

__getitem__

If found returns the item of key == ìtem`, else returns item with key matching issubclass(item, key).

Import detail#

from ansys.dpf.core.common import SubClassSmartDict

Method detail#

SubClassSmartDict.__getitem__(item)#

If found returns the item of key == ìtem`, else returns item with key matching issubclass(item, key).