Coverage for src/bob/bio/face/database/__init__.py: 100%
23 statements
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-13 00:04 +0200
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-13 00:04 +0200
1#!/usr/bin/env python
2# vim: set fileencoding=utf-8 :
3# isort: skip_file
5from .database import FaceBioFile
6from .mobio import MobioDatabase
7from .gbu import GBUDatabase
8from .arface import ARFaceDatabase
9from .lfw import LFWDatabase
10from .multipie import MultipieDatabase
11from .ijbc import IJBCDatabase
12from .replaymobile import ReplayMobileBioDatabase
13from .frgc import FRGCDatabase
14from .meds import MEDSDatabase
15from .morph import MorphDatabase
16from .casia_africa import CasiaAfricaDatabase
17from .pola_thermal import PolaThermalDatabase
18from .cbsr_nir_vis_2 import CBSRNirVis2Database
19from .rfw import RFWDatabase
20from .scface import SCFaceDatabase
21from .caspeal import CaspealDatabase
22from .vgg2 import VGG2Database
25# gets sphinx autodoc done right - don't remove it
26def __appropriate__(*args):
27 """Says object was actually declared here, and not in the import module.
28 Fixing sphinx warnings of not being able to find classes, when path is shortened.
29 Parameters:
31 *args: An iterable of objects to modify
33 Resolves `Sphinx referencing issues
34 <https://github.com/sphinx-doc/sphinx/issues/3048>`
35 """
37 for obj in args:
38 obj.__module__ = __name__
41__appropriate__(
42 FaceBioFile,
43 MobioDatabase,
44 GBUDatabase,
45 ARFaceDatabase,
46 LFWDatabase,
47 MultipieDatabase,
48 IJBCDatabase,
49 ReplayMobileBioDatabase,
50 MEDSDatabase,
51 MorphDatabase,
52 CasiaAfricaDatabase,
53 PolaThermalDatabase,
54 CBSRNirVis2Database,
55 FRGCDatabase,
56 RFWDatabase,
57 SCFaceDatabase,
58 CaspealDatabase,
59 VGG2Database,
60)
61__all__ = [_ for _ in dir() if not _.startswith("_")]