Skip to content

Commit

Permalink
Fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Максим committed Aug 15, 2024
1 parent eb7deba commit 315f41e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions sqladmin/forms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The converters are from Flask-Admin project.
"""

from __future__ import annotations

import enum
Expand All @@ -16,7 +17,11 @@
)

import anyio
from sqlalchemy import Boolean, select
from sqlalchemy import (
Boolean,
Select,
select,
)
from sqlalchemy import inspect as sqlalchemy_inspect
from sqlalchemy.orm import (
ColumnProperty,
Expand Down Expand Up @@ -109,7 +114,7 @@ def _inner(func: T_CC) -> T_CC:


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

0 comments on commit 315f41e

Please sign in to comment.