API refactor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-07 16:25:52 +09:00
parent 76d0d86211
commit 91c7e04474
1171 changed files with 81940 additions and 44117 deletions

View File

@@ -4,6 +4,7 @@
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
from __future__ import annotations
from .connection import connect, Connection # NOQA
from .exceptions import * # NOQA
@@ -14,6 +15,10 @@ from .types import * # NOQA
from ._version import __version__ # NOQA
from . import exceptions
__all__ = ('connect', 'create_pool', 'Pool', 'Record', 'Connection')
__all__: tuple[str, ...] = (
'connect', 'create_pool', 'Pool', 'Record', 'Connection'
)
__all__ += exceptions.__all__ # NOQA