Skip to content

Commit

Permalink
Fix hinting for sqlalchemy==1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Максим committed Aug 15, 2024
1 parent 32774d2 commit aedcbbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sqladmin/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
RelationshipProperty,
sessionmaker,
)
from sqlalchemy.sql import Select
from sqlalchemy.sql.elements import Label
from sqlalchemy.sql.schema import Column
from wtforms import (
Expand Down Expand Up @@ -110,7 +111,7 @@ def _inner(func: T_CC) -> T_CC:


class ModelConverterBase:
relationships_statements: dict[str, Any] = {}
relationships_statements: dict[str, Select] = {}
"""
Select statement for relationships.
"""
Expand Down

0 comments on commit aedcbbb

Please sign in to comment.