Skip to content
Closed
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
4 changes: 2 additions & 2 deletions sqlmodel/ext/asyncio/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from ...engine.result import ScalarResult
from ...orm.session import Session
from ...sql.expression import Select
from ...sql.expression import Select, SelectOfScalar

_T = TypeVar("_T")

Expand Down Expand Up @@ -42,7 +42,7 @@ def __init__(

async def exec(
self,
statement: Union[Select[_T], Executable[_T]],
statement: Union[Select[_T], SelectOfScalar[_T], Executable[_T]],
params: Optional[Union[Mapping[str, Any], Sequence[Mapping[str, Any]]]] = None,
execution_options: Mapping[Any, Any] = util.EMPTY_DICT,
bind_arguments: Optional[Mapping[str, Any]] = None,
Expand Down