Skip to content

Commit

Permalink
feat(comments): added comments;
Browse files Browse the repository at this point in the history
- Added method docs to explain new method.
  • Loading branch information
JVickery-TBS committed Nov 27, 2023
1 parent b04708f commit d443bb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckanext/xloader/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ def get_helpers(self):


def _is_validation_plugin_loaded():
"""
Checks the existance of a logic action from the ckanext-validation
plugin, thus supporting any extending of the Validation Plugin class.
"""
try:
toolkit.get_action('resource_validation_show')
except KeyError:
Expand Down

0 comments on commit d443bb6

Please sign in to comment.