X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/dc99bbb0afb7632b5497d4f6f41acff5b2e635e2..aff43fb1a3b193f853ddd74a490cdff529d0af67:/nominatim/typing.py diff --git a/nominatim/typing.py b/nominatim/typing.py index d988fe04..7274f1d3 100644 --- a/nominatim/typing.py +++ b/nominatim/typing.py @@ -62,6 +62,7 @@ if TYPE_CHECKING: else: TypeAlias = str +SaLambdaSelect: TypeAlias = 'Union[sa.Select[Any], sa.StatementLambdaElement]' SaSelect: TypeAlias = 'sa.Select[Any]' SaScalarSelect: TypeAlias = 'sa.ScalarSelect[Any]' SaRow: TypeAlias = 'sa.Row[Any]' @@ -70,3 +71,4 @@ SaExpression: TypeAlias = 'sa.ColumnElement[bool]' SaLabel: TypeAlias = 'sa.Label[Any]' SaFromClause: TypeAlias = 'sa.FromClause' SaSelectable: TypeAlias = 'sa.Selectable' +SaBind: TypeAlias = 'sa.BindParameter[Any]'