mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 13:24:07 +00:00
python: implement reverse lookup function
The implementation follows for most part the PHP code but introduces an additional layer parameter with which the kind of places to be returned can be restricted. This replaces the hard-coded exclusion lists.
This commit is contained in:
@@ -64,7 +64,7 @@ else:
|
||||
|
||||
SaSelect: TypeAlias = 'sa.Select[Any]'
|
||||
SaRow: TypeAlias = 'sa.Row[Any]'
|
||||
SaColumn: TypeAlias = 'sa.Column[Any]'
|
||||
SaColumn: TypeAlias = 'sa.ColumnElement[Any]'
|
||||
SaLabel: TypeAlias = 'sa.Label[Any]'
|
||||
SaTable: TypeAlias = 'sa.Table[Any]'
|
||||
SaClause: TypeAlias = 'sa.ClauseElement[Any]'
|
||||
SaFromClause: TypeAlias = 'sa.FromClause'
|
||||
SaSelectable: TypeAlias = 'sa.Selectable'
|
||||
|
||||
Reference in New Issue
Block a user