__init__.py 1.05 KB
Newer Older
1
from .database import VideoPadFile, VideoPadSample
2
from .replay import ReplayPadDatabase
3
from .replay_mobile import ReplayMobilePadDatabase
David GEISSBUHLER's avatar
David GEISSBUHLER committed
4
from .mifs import MIFSPadDatabase
5
from .celeb_a import CELEBAPadDatabase
6
from .maskattack import MaskAttackPadDatabase
7
from .casiasurf import CasiaSurfPadDatabase
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
8
9
from .casiafasd import CasiaFasdPadDatabase

10

11
12
# gets sphinx autodoc done right - don't remove it
def __appropriate__(*args):
13
    """Says object was actually declared here, and not in the import module.
14
15
  Fixing sphinx warnings of not being able to find classes, when path is
  shortened. Parameters:
16
17
18
19
20
21
22

    *args: An iterable of objects to modify

  Resolves `Sphinx referencing issues
  <https://github.com/sphinx-doc/sphinx/issues/3048>`
  """

23
24
25
    for obj in args:
        obj.__module__ = __name__

26
27

__appropriate__(
28
    VideoPadFile,
29
    ReplayPadDatabase,
30
    ReplayMobilePadDatabase,
David GEISSBUHLER's avatar
David GEISSBUHLER committed
31
    MIFSPadDatabase,
32
    CELEBAPadDatabase,
33
    MaskAttackPadDatabase,
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
34
35
    CasiaSurfPadDatabase,
    CasiaFasdPadDatabase,
36
)
37
38

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