From 064735521fc9d704676e40f6199cbc6d1eefd208 Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Sun, 4 Feb 2024 12:52:47 +0200 Subject: [PATCH] fix: collection type without generic --- ckanext/file_manager/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/file_manager/collection.py b/ckanext/file_manager/collection.py index e8ab6c5..760dfdd 100644 --- a/ckanext/file_manager/collection.py +++ b/ckanext/file_manager/collection.py @@ -28,7 +28,7 @@ def file_row_dictizer(serializer: ApHtmxTableSerializer, row: File): return data -class FileManagerCollection(ApCollection[Any]): +class FileManagerCollection(ApCollection): SerializerFactory = ApHtmxTableSerializer.with_attributes( record_template="file_manager/record.html", row_dictizer=file_row_dictizer,