Skip to content

Commit

Permalink
Fix execution_options type (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanforbes authored May 10, 2021
1 parent 6dd9d8c commit bd16b2d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sqlalchemy-stubs/ext/asyncio/session.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ from .engine import AsyncEngine
from .result import AsyncResult
from ... import util
from ...engine import Result
from ...engine.base import _ExecutionOptions
from ...orm import Session
from ...orm.session import _IdentityMap
from ...sql import ClauseElement
Expand Down Expand Up @@ -55,7 +54,7 @@ class AsyncSession:
params: Optional[
Union[Mapping[str, Any], Sequence[Mapping[str, Any]]]
] = ...,
execution_options: Optional[_ExecutionOptions] = ...,
execution_options: Optional[Mapping[Any, Any]] = ...,
bind_arguments: Optional[Mapping[str, Any]] = ...,
**kw: Any,
) -> Result: ...
Expand All @@ -65,7 +64,7 @@ class AsyncSession:
params: Optional[
Union[Mapping[str, Any], Sequence[Mapping[str, Any]]]
] = ...,
execution_options: _ExecutionOptions = ...,
execution_options: Mapping[Any, Any] = ...,
bind_arguments: Optional[Mapping[str, Any]] = ...,
**kw: Any,
) -> Any: ...
Expand All @@ -84,7 +83,7 @@ class AsyncSession:
params: Optional[
Union[Mapping[str, Any], Sequence[Mapping[str, Any]]]
] = ...,
execution_options: _ExecutionOptions = ...,
execution_options: Mapping[Any, Any] = ...,
bind_arguments: Optional[Mapping[str, Any]] = ...,
**kw: Any,
) -> AsyncResult: ...
Expand Down

0 comments on commit bd16b2d

Please sign in to comment.