Coverage for src/bob/bio/video/database/__init__.py: 100%
7 statements
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-13 00:44 +0200
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-13 00:44 +0200
1# isort: skip_file
2from .youtube import YoutubeDatabase
3from .database import VideoBioFile
6# gets sphinx autodoc done right - don't remove it
7def __appropriate__(*args):
8 """Says object was actually declared here, and not in the import module.
9 Fixing sphinx warnings of not being able to find classes, when path is shortened.
10 Parameters:
12 *args: An iterable of objects to modify
14 Resolves `Sphinx referencing issues
15 <https://github.com/sphinx-doc/sphinx/issues/3048>`
16 """
18 for obj in args:
19 obj.__module__ = __name__
22__appropriate__(YoutubeDatabase, VideoBioFile)
23__all__ = [_ for _ in dir() if not _.startswith("_")]