Skip to content

Commit 5f08529

Browse files
authored
SQLAlchemy: Remove some implementation details (#9492)
Stubs for the mypy plugin, which aren't useful if you're using typeshed's SQLAlchemy stubs, have been removed.
1 parent 5eb6a69 commit 5f08529

File tree

8 files changed

+0
-179
lines changed

8 files changed

+0
-179
lines changed

stubs/SQLAlchemy/sqlalchemy/ext/mypy/__init__.pyi

Whitespace-only changes.

stubs/SQLAlchemy/sqlalchemy/ext/mypy/apply.pyi

Lines changed: 0 additions & 27 deletions
This file was deleted.

stubs/SQLAlchemy/sqlalchemy/ext/mypy/decl_class.pyi

Lines changed: 0 additions & 10 deletions
This file was deleted.

stubs/SQLAlchemy/sqlalchemy/ext/mypy/infer.pyi

Lines changed: 0 additions & 25 deletions
This file was deleted.

stubs/SQLAlchemy/sqlalchemy/ext/mypy/names.pyi

Lines changed: 0 additions & 38 deletions
This file was deleted.

stubs/SQLAlchemy/sqlalchemy/ext/mypy/plugin.pyi

Lines changed: 0 additions & 21 deletions
This file was deleted.

stubs/SQLAlchemy/sqlalchemy/ext/mypy/util.pyi

Lines changed: 0 additions & 49 deletions
This file was deleted.

stubs/SQLAlchemy/sqlalchemy/util/_concurrency_py3k.pyi

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
import asyncio as asyncio
22
from collections.abc import Callable, Coroutine
33
from typing import Any
4-
from typing_extensions import TypeAlias
54

65
from .langhelpers import memoized_property
76

8-
_Greenlet: TypeAlias = Any # actually greenlet.greenlet
9-
107
def is_exit_exception(e): ...
11-
12-
class _AsyncIoGreenlet(_Greenlet):
13-
driver: Any
14-
gr_context: Any
15-
def __init__(self, fn, driver) -> None: ...
16-
178
def await_only(awaitable: Coroutine[Any, Any, Any]) -> Any: ...
189
def await_fallback(awaitable: Coroutine[Any, Any, Any]) -> Any: ...
1910
async def greenlet_spawn(fn: Callable[..., Any], *args, _require_await: bool = ..., **kwargs) -> Any: ...

0 commit comments

Comments
 (0)