From 90b46f9ff5e6fcc4de1a1f83a50c2c70f359e5ae Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Fri, 2 Feb 2024 17:40:11 +0200 Subject: [PATCH] refactor: fix collection types --- ckanext/mailcraft/collection.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ckanext/mailcraft/collection.py b/ckanext/mailcraft/collection.py index e4ddb43..8183189 100644 --- a/ckanext/mailcraft/collection.py +++ b/ckanext/mailcraft/collection.py @@ -1,7 +1,5 @@ from __future__ import annotations -from typing import Any - import sqlalchemy as sa from dominate import tags @@ -20,7 +18,7 @@ from ckanext.mailcraft.model import Email -class MailCollection(ApCollection[Any]): +class MailCollection(ApCollection): ColumnsFactory = ApCollection.ColumnsFactory.with_attributes( names=[ "bulk-action",