betty.assets module¶
The Assets API.
- class betty.assets.AssetRepository[source]¶
Bases:
object
Manages a set of assets.
This repository unifies several directory paths on disk, overlaying them on each other. Paths added later act as fallbacks, e.g. earlier paths have priority.
- __init__(*assets_directory_paths: Path)[source]¶
- Parameters:
assets_directory_paths – Earlier paths have priority over later paths.