betty.entity.collection.multiple module

Multipe-types entity collections.

class betty.entity.collection.multiple.MultipleTypesEntityCollection

Bases: EntityCollection, Generic

Collect entities of multiple types.

__init__(*entities: TargetT)
add(*entities: TargetT) None

Add the given entities.

clear() None

Clear all entities from the collection.

remove(*entities: TargetT) None

Remove the given entities.