__init__.py 833 Bytes
Newer Older
1
from .file import PadFile
2
3
4
from .database import PadDatabase
from .filelist.query import FileListPadDatabase
from .filelist.models import Client
5
from .PadBioFileDB import HighBioDatabase, HighPadDatabase
6
7

# gets sphinx autodoc done right - don't remove it
8
def __appropriate__(*args):
9
10
11
    """Says object was actually declared here, and not in the import module.
    Fixing sphinx warnings of not being able to find classes, when path is shortened.
    Parameters:
12

13
      *args: An iterable of objects to modify
14

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

19
20
    for obj in args:
        obj.__module__ = __name__
21
22
23


__appropriate__(
24
    PadFile, PadDatabase, FileListPadDatabase, Client, HighBioDatabase, HighPadDatabase
25
)
26
__all__ = [_ for _ in dir() if not _.startswith("_")]