Skip to content

Commit b137635

Browse files
committed
fix formatting and typo
1 parent 711aad4 commit b137635

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

sqlalchemy-stubs/dialects/mysql/aiomysql.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ from typing import Any
22
from typing import Optional
33

44
from .pymysql import MySQLDialect_pymysql as MySQLDialect_pymysql
5-
from ...engine import AdaptedConnection
65
from ... import pool as pool
76
from ... import util as util
7+
from ...engine import AdaptedConnection
88
from ...util.concurrency import await_fallback as await_fallback
99
from ...util.concurrency import await_only as await_only
1010

@@ -72,6 +72,6 @@ class MySQLDialect_aiomysql(MySQLDialect_pymysql):
7272
def get_pool_class(cls, url: Any): ...
7373
def create_connect_args(self, url: Any): ...
7474
def is_disconnect(self, e: Any, connection: Any, cursor: Any): ...
75-
def get_driver_connection(self, connection: Any) -> Any:
75+
def get_driver_connection(self, connection: Any) -> Any: ...
7676

7777
dialect = MySQLDialect_aiomysql

sqlalchemy-stubs/dialects/postgresql/asyncpg.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ from .base import PGExecutionContext as PGExecutionContext
1111
from .base import PGIdentifierPreparer as PGIdentifierPreparer
1212
from .base import REGCLASS as REGCLASS
1313
from .base import UUID as UUID
14-
from ...engine import AdaptedConnection
1514
from ... import exc as exc
1615
from ... import pool as pool
1716
from ... import processors as processors
1817
from ... import util as util
18+
from ...engine import AdaptedConnection
1919
from ...sql import sqltypes as sqltypes
2020
from ...util.concurrency import await_fallback as await_fallback
2121
from ...util.concurrency import await_only as await_only
@@ -212,6 +212,6 @@ class PGDialect_asyncpg(PGDialect):
212212
self, cursor: Any, list_of_tuples: Any, context: Any
213213
) -> None: ...
214214
def on_connect(self): ...
215-
def get_driver_connection(self, connection: Any) -> Any:
215+
def get_driver_connection(self, connection: Any) -> Any: ...
216216

217217
dialect = PGDialect_asyncpg

sqlalchemy-stubs/ext/asyncio/engine.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from typing import Any
22
from typing import Callable
33
from typing import Generator
4-
from typing import List
54
from typing import MutableMapping
65
from typing import NoReturn
76
from typing import Optional

sqlalchemy-stubs/pool/base.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from typing import Any
22
from typing import Optional
33

4-
from ..engine.interfaces import _DBAPIConnection
54
from .. import event as event
65
from .. import exc as exc
76
from .. import log as log
87
from .. import util as util
8+
from ..engine.interfaces import _DBAPIConnection
99

1010
reset_rollback: Any
1111
reset_commit: Any

0 commit comments

Comments
 (0)