mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 02:58:13 +00:00
try future annotations to resolve Generics compatibility
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
"""
|
"""
|
||||||
Custom functions and expressions for SQLAlchemy.
|
Custom functions and expressions for SQLAlchemy.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import annotations
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"""
|
"""
|
||||||
Custom types for SQLAlchemy.
|
Custom types for SQLAlchemy.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import annotations
|
||||||
from typing import Callable, Any, cast
|
from typing import Callable, Any, cast
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user