mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 05:44:06 +00:00
add type annotations to tool functions
This commit is contained in:
@@ -37,7 +37,7 @@ class Cursor(psycopg2.extras.DictCursor):
|
||||
|
||||
|
||||
def execute_values(self, sql: Query, argslist: Iterable[Tuple[Any, ...]],
|
||||
template: Optional[str] = None) -> None:
|
||||
template: Optional[Query] = None) -> None:
|
||||
""" Wrapper for the psycopg2 convenience function to execute
|
||||
SQL for a list of values.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user