Skip to content

Commit

Permalink
Removes Registry from the top level namespace
Browse files Browse the repository at this point in the history
Closes pyeve#354.
  • Loading branch information
funkyfuture committed Jun 1, 2018
1 parent 9fdc46e commit 511a74e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions cerberus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@
import pkg_resources

from cerberus.validator import DocumentError, Validator
from cerberus.schema import (rules_set_registry, schema_registry, Registry,
SchemaError)
from cerberus.schema import rules_set_registry, schema_registry, SchemaError
from cerberus.utils import TypeDefinition


__version__ = pkg_resources.get_distribution('Cerberus').version

__all__ = [
DocumentError.__name__,
Registry.__name__,
SchemaError.__name__,
TypeDefinition.__name__,
Validator.__name__,
Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Validator Class
Rules Set & Schema Registry
---------------------------

.. autoclass:: cerberus.Registry
.. autoclass:: cerberus.schema.Registry
:members:


Expand Down

0 comments on commit 511a74e

Please sign in to comment.