Coverage for src/bob/fusion/base/algorithm/__init__.py: 100%
10 statements
« prev ^ index » next coverage.py v7.6.5, created at 2024-11-14 22:15 +0100
« prev ^ index » next coverage.py v7.6.5, created at 2024-11-14 22:15 +0100
1from .Algorithm import Algorithm
2from .AlgorithmBob import AlgorithmBob
3from .Empty import Empty
4from .GMM import GMM
5from .Weighted_Sum import Weighted_Sum
8# gets sphinx autodoc done right - don't remove it
9def __appropriate__(*args):
10 """Says object was actually declared here, an not on the import module.
12 Parameters:
14 *args: An iterable of objects to modify
16 Resolves `Sphinx referencing issues
17 <https://github.com/sphinx-doc/sphinx/issues/3048>`
18 """
20 for obj in args:
21 obj.__module__ = __name__
24__appropriate__(
25 Algorithm,
26 AlgorithmBob,
27 Weighted_Sum,
28 GMM,
29 Empty,
30)
31__all__ = [_ for _ in dir() if not _.startswith("_")]