Skip to content

Fix Any subclassing in SQLAlchemy #9492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 11, 2023
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
Empty file.
27 changes: 0 additions & 27 deletions stubs/SQLAlchemy/sqlalchemy/ext/mypy/apply.pyi

This file was deleted.

10 changes: 0 additions & 10 deletions stubs/SQLAlchemy/sqlalchemy/ext/mypy/decl_class.pyi

This file was deleted.

25 changes: 0 additions & 25 deletions stubs/SQLAlchemy/sqlalchemy/ext/mypy/infer.pyi

This file was deleted.

38 changes: 0 additions & 38 deletions stubs/SQLAlchemy/sqlalchemy/ext/mypy/names.pyi

This file was deleted.

21 changes: 0 additions & 21 deletions stubs/SQLAlchemy/sqlalchemy/ext/mypy/plugin.pyi

This file was deleted.

49 changes: 0 additions & 49 deletions stubs/SQLAlchemy/sqlalchemy/ext/mypy/util.pyi

This file was deleted.

9 changes: 0 additions & 9 deletions stubs/SQLAlchemy/sqlalchemy/util/_concurrency_py3k.pyi
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
import asyncio as asyncio
from collections.abc import Callable, Coroutine
from typing import Any
from typing_extensions import TypeAlias

from .langhelpers import memoized_property

_Greenlet: TypeAlias = Any # actually greenlet.greenlet

def is_exit_exception(e): ...

class _AsyncIoGreenlet(_Greenlet):
driver: Any
gr_context: Any
def __init__(self, fn, driver) -> None: ...

def await_only(awaitable: Coroutine[Any, Any, Any]) -> Any: ...
def await_fallback(awaitable: Coroutine[Any, Any, Any]) -> Any: ...
async def greenlet_spawn(fn: Callable[..., Any], *args, _require_await: bool = ..., **kwargs) -> Any: ...
Expand Down