Skip to content

Update SQLalchemy to 1.4.34 #7573

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 1 commit into from
Apr 1, 2022
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
2 changes: 1 addition & 1 deletion stubs/SQLAlchemy/sqlalchemy/engine/base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Engine(Connectable, Identified):
def name(self) -> str: ...
@property
def driver(self): ...
def dispose(self) -> None: ...
def dispose(self, close: bool = ...) -> None: ...

class _trans_ctx:
conn: Connection
Expand Down
3 changes: 2 additions & 1 deletion stubs/SQLAlchemy/sqlalchemy/orm/util.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,11 @@ def with_polymorphic(
flat: bool = ...,
polymorphic_on: Any | None = ...,
aliased: bool = ...,
adapt_on_names: bool = ...,
innerjoin: bool = ...,
_use_mapper_path: bool = ...,
_existing_alias: Any | None = ...,
): ...
) -> AliasedClass: ...

class Bundle(ORMColumnsClauseRole, SupportsCloneAnnotations, sql_base.MemoizedHasCacheKey, InspectionAttr):
single_entity: bool
Expand Down
4 changes: 2 additions & 2 deletions stubs/SQLAlchemy/sqlalchemy/sql/functions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from typing import Any
from ..util import HasMemoized
from .base import Executable, Generative
from .elements import BinaryExpression, ColumnElement, NamedColumn
from .selectable import FromClause
from .selectable import FromClause, TableValuedAlias
from .visitors import TraversibleType

def register_function(identifier, fn, package: str = ...) -> None: ...
Expand All @@ -28,7 +28,7 @@ class FunctionElement(Executable, ColumnElement[Any], FromClause, Generative):
def filter(self, *criterion): ...
def as_comparison(self, left_index, right_index): ...
def within_group_type(self, within_group) -> None: ...
def alias(self, name: Any | None = ...): ... # type: ignore[override]
def alias(self, name: str | None = ..., joins_implicitly: bool = ...) -> TableValuedAlias: ... # type: ignore[override]
def select(self): ...
def scalar(self): ...
def execute(self): ...
Expand Down
1 change: 1 addition & 0 deletions stubs/SQLAlchemy/sqlalchemy/testing/engines.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def testing_engine(
future: Any | None = ...,
asyncio: bool = ...,
transfer_staticpool: bool = ...,
_sqlite_savepoint: bool = ...,
): ...
def mock_engine(dialect_name: Any | None = ...): ...

Expand Down