From 1f2dfb675cedc6449141dc5fab60ed73da0f6fc9 Mon Sep 17 00:00:00 2001 From: avdata99 Date: Thu, 9 May 2024 11:10:20 -0300 Subject: [PATCH] undo bad change --- ckanext/scheming/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/scheming/plugins.py b/ckanext/scheming/plugins.py index dd34e16e..87e24af6 100644 --- a/ckanext/scheming/plugins.py +++ b/ckanext/scheming/plugins.py @@ -546,7 +546,7 @@ def before_dataset_index(self, data_dict): return self.before_index(data_dict) def before_index(self, data_dict): - schemas = self.instance._expanded_schemas + schemas = SchemingDatasetsPlugin.instance._expanded_schemas if data_dict['type'] not in schemas: return data_dict