try future annotations to resolve Generics compatibility

This commit is contained in:
Sarah Hoffmann 2023-10-12 16:19:12 +02:00
parent 06bbd501fd
commit 37488ee82b
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
"""
Custom functions and expressions for SQLAlchemy.
"""
from __future__ import annotations
from typing import Any
import sqlalchemy as sa

View File

@ -7,6 +7,7 @@
"""
Custom types for SQLAlchemy.
"""
from __future__ import annotations
from typing import Callable, Any, cast
import sys