Skip to content

Commit

Permalink
Fix ImportError logic Module in plugin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rickelt committed May 22, 2024
1 parent 0bac577 commit 4e4e722
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 4 additions & 0 deletions sddi-odp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -79,20 +79,13 @@ 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()

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']
Expand Down

0 comments on commit 4e4e722

Please sign in to comment.