Coverage for src/bob/pad/base/database/__init__.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.6.0, created at 2024-07-12 23:40 +0200

1from .csv_dataset import FileListPadDatabase 

2 

3 

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

5def __appropriate__(*args): 

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

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

8 Parameters: 

9 

10 *args: An iterable of objects to modify 

11 

12 Resolves `Sphinx referencing issues 

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

14 """ 

15 

16 for obj in args: 

17 obj.__module__ = __name__ 

18 

19 

20__appropriate__( 

21 FileListPadDatabase, 

22) 

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