Coverage for src/bob/pipelines/dataset/__init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.0.5, created at 2023-06-16 14:21 +0200
« prev ^ index » next coverage.py v7.0.5, created at 2023-06-16 14:21 +0200
1"""Functionalities related to datasets processing."""
3from .database import CSVToSamples, FileListDatabase, FileListToSamples
4from .protocols import ( # noqa: F401
5 download_protocol_definition,
6 list_group_names,
7 list_protocol_names,
8 open_definition_file,
9)
12def __appropriate__(*args):
13 """Says object was actually declared here, and not in the import module.
14 Fixing sphinx warnings of not being able to find classes, when path is
15 shortened.
17 Parameters
18 ----------
19 *args
20 The objects that you want sphinx to believe that are defined here.
22 Resolves `Sphinx referencing issues <https//github.com/sphinx-
23 doc/sphinx/issues/3048>`
24 """
26 for obj in args:
27 obj.__module__ = __name__
30__appropriate__(
31 FileListToSamples,
32 CSVToSamples,
33 FileListDatabase,
34)