X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/49e0d83d5d8e3008373ae99ae3f37788f4b9a80a..3f5484f48fb3ab132f877d1d5a3e42cdaf274f07:/nominatim/typing.py diff --git a/nominatim/typing.py b/nominatim/typing.py index ebb5e1e9..62ecd8c3 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]' @@ -71,3 +72,4 @@ SaLabel: TypeAlias = 'sa.Label[Any]' SaFromClause: TypeAlias = 'sa.FromClause' SaSelectable: TypeAlias = 'sa.Selectable' SaBind: TypeAlias = 'sa.BindParameter[Any]' +SaDialect: TypeAlias = 'sa.Dialect'