betty.load module¶
Provide the Ancestry loading API.
- class betty.load.Loader[source]¶
Bases:
object
Load (part of) the project’s ancestry.
Extensions may subclass this to add data to the ancestry, if they choose to do so.
- class betty.load.PostLoader[source]¶
Bases:
object
Act on the project’s ancestry having been loaded.
- async post_load() None [source]¶
Act on the ancestry having been loaded.
This method is called immediately after
betty.load.Loader.load()
.- Return type:
- async betty.load.load(project: betty.project.Project) None [source]¶
Load an ancestry.
- Parameters:
project (
betty.project.Project
)- Return type: