Skip to content

Commit

Permalink
Rename import for schemingdcat_get_schema_names to improve clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanez committed Oct 23, 2024
1 parent 86e16a9 commit 00f5eb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/schemingdcat/logic/action/get.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ckanext.schemingdcat.helpers import schemingdcat_get_schema_names
from ckanext.schemingdcat.helpers import schemingdcat_get_schema_names as _schemingdcat_get_schema_names

def schemingdcat_dataset_schema_name(context, data_dict):
"""
Expand All @@ -11,4 +11,4 @@ def schemingdcat_dataset_schema_name(context, data_dict):
Returns:
list: A list of schema names.
"""
return schemingdcat_get_schema_names()
return _schemingdcat_get_schema_names()

0 comments on commit 00f5eb1

Please sign in to comment.