From 8ef63e95bad1d0dbcb401b01acdc00d59bd71334 Mon Sep 17 00:00:00 2001 From: Thor Whalen Date: Thu, 4 Apr 2024 13:07:18 +0200 Subject: [PATCH] chore: get rid of not used imports --- ju/rjsf.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ju/rjsf.py b/ju/rjsf.py index 1964b57..77b13e7 100644 --- a/ju/rjsf.py +++ b/ju/rjsf.py @@ -8,7 +8,6 @@ function_to_json_schema, DFLT_PARAM_TO_TYPE, DFLT_FUNC_TITLE, - name_of_obj, merge_with_defaults, ) from ju.util import asis @@ -171,7 +170,12 @@ def _func_to_rjsf_schemas( """ - schema = function_to_json_schema(func) + schema = function_to_json_schema( + func, + doc=doc, + pyname_to_title=pyname_to_title, + param_to_prop_type=param_to_prop_type, + ) ui_schema = deepcopy(base_rjsf_spec['uiSchema'])