summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/_typing.py
blob: 4d2dd268849e268fc2800c3d96942c1aef8db04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from typing import Any
from typing import Mapping
from typing import Sequence
from typing import Type
from typing import Union

from . import roles
from ..inspection import Inspectable
from ..util import immutabledict

_SingleExecuteParams = Mapping[str, Any]
_MultiExecuteParams = Sequence[_SingleExecuteParams]
_ExecuteParams = Union[_SingleExecuteParams, _MultiExecuteParams]
_ExecuteOptions = Mapping[str, Any]
_ImmutableExecuteOptions = immutabledict[str, Any]
_ColumnsClauseElement = Union[
    roles.ColumnsClauseRole, Type, Inspectable[roles.HasClauseElement]
]
_FromClauseElement = Union[
    roles.FromClauseRole, Type, Inspectable[roles.HasFromClauseElement]
]