VIRTUAL_BASE_CLASSES

VIRTUAL_BASE_CLASSES#

treescope.type_registries.VIRTUAL_BASE_CLASSES: list[type[abc.ABC]]#

List of abstract base classes that should be checked for virtual subclasses.

This list should contain a list of abstract base classes that have virtual subclasses (defined using the .register method), and which appear in the global type registries NDARRAY_ADAPTER_REGISTRY or TREESCOPE_HANDLER_REGISTRY. If a type is a subclass of one of these base classes, the corresponding registry entry will be used.