betty.ancestry package

Subpackages

Submodules

Module contents

Provide Betty’s main data model.

final class betty.ancestry.Ancestry[source]

Bases: MultipleTypesEntityCollection[Entity]

An ancestry contains all the entities of a single family tree/genealogical data set.

__init__()[source]
add_unchecked_graph(*entities: Entity) None[source]

Add entities to the ancestry but do not automatically add associates as well.

It is the caller’s responsibility to ensure all associates are added to the ancestry. If this is done, calling this method is faster than the usual entity collection methods.