Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions asyncpg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
from ._version import __version__ # NOQA


__all__ = (
('connect', 'create_pool', 'Pool', 'Record', 'Connection')
+ exceptions.__all__ # NOQA
)
__all__ = ('connect', 'create_pool', 'Pool', 'Record', 'Connection')
__all__ += exceptions.__all__ # NOQA
4 changes: 3 additions & 1 deletion asyncpg/exceptions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ class IndexCorruptedError(InternalServerError):
sqlstate = 'XX002'


__all__ = _base.__all__ + (
__all__ = (
'ActiveSQLTransactionError', 'AdminShutdownError',
'AmbiguousAliasError', 'AmbiguousColumnError',
'AmbiguousFunctionError', 'AmbiguousParameterError',
Expand Down Expand Up @@ -1180,3 +1180,5 @@ class IndexCorruptedError(InternalServerError):
'WindowingError', 'WithCheckOptionViolationError',
'WrongObjectTypeError', 'ZeroLengthCharacterStringError'
)

__all__ += _base.__all__