Coverage for src / rhiza / models / __init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.14.0, created at 2026-06-15 18:22 +0000
« prev ^ index » next coverage.py v7.14.0, created at 2026-06-15 18:22 +0000
1"""Data models for Rhiza configuration.
3This package re-exports all public symbols from the sub-modules so that
4existing code importing from ``rhiza.models`` continues to work unchanged.
6Sub-modules
7-----------
8- :mod:`rhiza.models._base` - :class:`YamlSerializable` protocol, :func:`load_model`
9- :mod:`rhiza.models._git_utils` - git helpers and ``_normalize_to_list``
10- :mod:`rhiza.models.bundle` - :class:`BundleDefinition`, :class:`ProfileDefinition`, :class:`RhizaBundles`
11- :mod:`rhiza.models.template` - :class:`GitHost`, :class:`RhizaTemplate`
12- :mod:`rhiza.models.lock` - :class:`TemplateLock`
13"""
15from rhiza.models._base import YamlSerializable, load_model
16from rhiza.models._git_utils import GitContext, get_git_executable
17from rhiza.models.bundle import BundleDefinition, ProfileDefinition, RhizaBundles
18from rhiza.models.lock import TemplateLock
19from rhiza.models.template import GitHost, RhizaTemplate
21__all__ = [
22 "BundleDefinition",
23 "GitContext",
24 "GitHost",
25 "ProfileDefinition",
26 "RhizaBundles",
27 "RhizaTemplate",
28 "TemplateLock",
29 "YamlSerializable",
30 "get_git_executable",
31 "load_model",
32]