From b2fed2f452a5d558ce9de12bd6d609b7711da69e Mon Sep 17 00:00:00 2001 From: gkarpushkin Date: Sun, 29 Nov 2020 12:34:02 +0300 Subject: [PATCH 1/2] added Pool to public api --- asyncpg/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asyncpg/__init__.py b/asyncpg/__init__.py index d06718a5..801861b3 100644 --- a/asyncpg/__init__.py +++ b/asyncpg/__init__.py @@ -7,12 +7,12 @@ from .connection import connect, Connection # NOQA from .exceptions import * # NOQA -from .pool import create_pool # NOQA +from .pool import create_pool, Pool # NOQA from .protocol import Record # NOQA from .types import * # NOQA -__all__ = ('connect', 'create_pool', 'Record', 'Connection') + \ +__all__ = ('connect', 'create_pool', 'Pool', 'Record', 'Connection') + \ exceptions.__all__ # NOQA # The rules of changing __version__: From cb1c0fbbd3d257d1bebb3f5e9a5ac974a0825690 Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Sun, 29 Nov 2020 10:31:42 -0800 Subject: [PATCH 2/2] Fix trailing ws --- asyncpg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncpg/__init__.py b/asyncpg/__init__.py index 96bd25f5..01af7904 100644 --- a/asyncpg/__init__.py +++ b/asyncpg/__init__.py @@ -16,6 +16,6 @@ __all__ = ( - ('connect', 'create_pool', 'Pool', 'Record', 'Connection') + ('connect', 'create_pool', 'Pool', 'Record', 'Connection') + exceptions.__all__ # NOQA ) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy