diff --git a/sddi-odp/CHANGELOG.md b/sddi-odp/CHANGELOG.md index a125f1e..f96d195 100644 --- a/sddi-odp/CHANGELOG.md +++ b/sddi-odp/CHANGELOG.md @@ -1,6 +1,10 @@ CHANGELOG ========= +22.05.2024: + +* FIX: Import logic Funktionen aus plugin.py entfernt + 21.05.2024 (v1.1.0): * ENH: API-Link zu Datensatz (in datasetview) diff --git a/sddi-odp/ckan-extensions/ckanext-ogdmunich/ckanext/ogdmunich/plugin.py b/sddi-odp/ckan-extensions/ckanext-ogdmunich/ckanext/ogdmunich/plugin.py index cbf96d1..9d8963e 100644 --- a/sddi-odp/ckan-extensions/ckanext-ogdmunich/ckanext/ogdmunich/plugin.py +++ b/sddi-odp/ckan-extensions/ckanext-ogdmunich/ckanext/ogdmunich/plugin.py @@ -10,7 +10,7 @@ from ckan.logic import NotFound, get_action from ckan import model from ckan.model import Session -from ckanext.ogdmunich import dcat_ap, logic +from ckanext.ogdmunich import dcat_ap import json import os @@ -79,7 +79,6 @@ class OGDMunichThemePlugin(plugins.SingletonPlugin): plugins.implements(ISpatialHarvester, inherit=True) plugins.implements(plugins.IBlueprint) plugins.implements(plugins.IValidators) - # plugins.implements(plugins.IActions, inherit=True) def get_blueprint(self): return dcat_ap.get_blueprints() @@ -87,12 +86,6 @@ def get_blueprint(self): def get_validators(self): return {"ogdmunich_is_musterdatensatz": is_musterdatensatz} - # # IActions - # def get_actions(self): - # return { - # "ogdmunich_autosuggest": logic.ogdmunich_autosuggest, - # } - def get_package_dict(self, context, data_dict): # Check the reference below to see all that's included on data_dict package_dict = data_dict['package_dict']