From 00f5eb1a59fea232400c225b54035f5342ec2d3e Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Wed, 23 Oct 2024 22:22:57 +0200 Subject: [PATCH] Rename import for schemingdcat_get_schema_names to improve clarity --- ckanext/schemingdcat/logic/action/get.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/schemingdcat/logic/action/get.py b/ckanext/schemingdcat/logic/action/get.py index c6918a4e..d439ce7c 100644 --- a/ckanext/schemingdcat/logic/action/get.py +++ b/ckanext/schemingdcat/logic/action/get.py @@ -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): """ @@ -11,4 +11,4 @@ def schemingdcat_dataset_schema_name(context, data_dict): Returns: list: A list of schema names. """ - return schemingdcat_get_schema_names() \ No newline at end of file + return _schemingdcat_get_schema_names() \ No newline at end of file