Skip to content

Commit

Permalink
chore: rename helpers._get_helpers() to get_helpers()
Browse files Browse the repository at this point in the history
  • Loading branch information
duttonw committed Dec 11, 2024
1 parent b9c04fd commit 47476bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ckanext/validation/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from ckan.lib.helpers import url_for_static
from ckantoolkit import url_for, _, config, asbool, literal, h

def _get_helpers():
def get_helpers():
validators = (
get_validation_badge,
validation_extract_report_from_errors,
Expand Down
4 changes: 2 additions & 2 deletions ckanext/validation/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import ckantoolkit as tk

from . import settings as s, utils, validators
from .helpers import _get_helpers
from .helpers import get_helpers
from .logic import action, auth
from .model import tables_exist

Expand Down Expand Up @@ -75,7 +75,7 @@ def get_auth_functions(self):
# ITemplateHelpers

def get_helpers(self):
return _get_helpers()
return get_helpers()

# IValidators

Expand Down

0 comments on commit 47476bd

Please sign in to comment.