Skip to content

Commit

Permalink
Remove presets parsing cache
Browse files Browse the repository at this point in the history
As it creates issues when loading plugins (e.g. in tests)
See #424

Fixes #424
  • Loading branch information
amercader committed Oct 28, 2024
1 parent 27035f4 commit 2986314
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckanext/scheming/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ def _add_template_directory(self, config):

@staticmethod
def _load_presets(config):
if _SchemingMixin._presets is not None:
return

presets = reversed(
config.get(
Expand Down

0 comments on commit 2986314

Please sign in to comment.