diff --git a/c2cgeoform/views/abstract_views.py b/c2cgeoform/views/abstract_views.py index e34ef95e..4a483bff 100644 --- a/c2cgeoform/views/abstract_views.py +++ b/c2cgeoform/views/abstract_views.py @@ -8,6 +8,7 @@ import sqlalchemy.orm.attributes import sqlalchemy.orm.properties import sqlalchemy.schema +import sqlalchemy.sql.elements import sqlalchemy.sql.expression from deform import Form, ValidationFailure # , ZPTRendererFactory from deform.form import Button @@ -100,7 +101,7 @@ def __init__( label: Optional[str] = None, renderer: Optional[Callable[[T], JSONDict]] = None, sort_column: Optional[sqlalchemy.sql.expression.ColumnElement[Any]] = None, - filter_column: Optional[sqlalchemy.schema.Column[Any]] = None, + filter_column: Optional[sqlalchemy.sql.elements.SQLCoreOperations[Any]] = None, visible: bool = True, ): self._attr = _getattr(model, attr)