Commit c8e36c45 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV

[sphinx] Fixing shortening issue

parent d8c3c8cd
Pipeline #4969 passed with stages
in 17 minutes and 19 seconds
from .gmm_algorithm import GmmAlgorithm
from .logregr_algorithm import LogRegrAlgorithm
# to fix sphinx warnings of not able to find classes, when path is shortened
GmmAlgorithm.__module__ = "bob.pad.voice.algorithm"
LogRegrAlgorithm.__module__ = "bob.pad.voice.algorithm"
# gets sphinx autodoc done right - don't remove it
__all__ = [_ for _ in dir() if not _.startswith('_')]
......@@ -5,5 +5,13 @@ from .replay import ReplayPadDatabase
from .replaymobile import ReplayMobilePadDatabase
from .voicepa import VoicePAPadDatabase
# to fix sphinx warnings of not able to find classes, when path is shortened
PadVoiceFile.__module__ = "bob.pad.voice.database"
ASVspoofPadDatabase.__module__ = "bob.pad.voice.database"
AVspoofPadDatabase.__module__ = "bob.pad.voice.database"
ReplayPadDatabase.__module__ = "bob.pad.voice.database"
ReplayMobilePadDatabase.__module__ = "bob.pad.voice.database"
VoicePAPadDatabase.__module__ = "bob.pad.voice.database"
# gets sphinx autodoc done right - don't remove it
__all__ = [_ for _ in dir() if not _.startswith('_')]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment