Coverage for src/bob/bio/face/embeddings/__init__.py: 50%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.0, created at 2024-07-13 00:04 +0200

1# gets sphinx autodoc done right - don't remove it 

2def __appropriate__(*args): 

3 """Says object was actually declared here, and not in the import module. 

4 Fixing sphinx warnings of not being able to find classes, when path is shortened. 

5 Parameters: 

6 

7 *args: An iterable of objects to modify 

8 

9 Resolves `Sphinx referencing issues 

10 <https://github.com/sphinx-doc/sphinx/issues/3048>` 

11 """ 

12 

13 for obj in args: 

14 obj.__module__ = __name__ 

15 

16 

17__all__ = [_ for _ in dir() if not _.startswith("_")]