[V3] NumPy Docstrings (#1032)

* ALL THE DOCSTRINGS

* Remove imports in drivers package

* Fixed build warnings
This commit is contained in:
Tobotimus
2017-10-18 13:01:59 +11:00
committed by Will
parent 684004d614
commit c80684a129
14 changed files with 976 additions and 560 deletions

View File

@@ -1,5 +1,6 @@
from typing import Tuple
__all__ = ["BaseDriver"]
class BaseDriver:
def get_driver(self):

View File

@@ -5,6 +5,8 @@ from ..json_io import JsonIO
from .red_base import BaseDriver
__all__ = ["JSON"]
class JSON(BaseDriver):
def __init__(self, cog_name, *, data_path_override: Path=None,

View File

@@ -2,6 +2,10 @@ import pymongo as m
from .red_base import BaseDriver
__all__ = ["Mongo", "RedMongoException", "MultipleMatches",
"MissingCollection"]
class RedMongoException(Exception):
"""Base Red Mongo Exception class"""
pass