mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-27 00:49:55 +03:00
654b652530
Most of the server implementation of V1 API now resides in api.v1.server_glue. The webframeworks only supply some glue code which is independent to changes in the API code.
22 lines
703 B
Python
22 lines
703 B
Python
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# This file is part of Nominatim. (https://nominatim.org)
|
|
#
|
|
# Copyright (C) 2023 by the Nominatim developer community.
|
|
# For a full list of authors see the git log.
|
|
"""
|
|
Implementation of API version v1 (aka the legacy version).
|
|
"""
|
|
|
|
#pylint: disable=useless-import-alias
|
|
|
|
from nominatim.api.v1.server_glue import (ASGIAdaptor as ASGIAdaptor,
|
|
EndpointFunc as EndpointFunc,
|
|
ROUTES as ROUTES)
|
|
|
|
import nominatim.api.v1.format as _format
|
|
|
|
list_formats = _format.dispatch.list_formats
|
|
supports_format = _format.dispatch.supports_format
|
|
format_result = _format.dispatch.format_result
|