convert UDFS_YAML to dict.

This commit is contained in:
刘棒棒 2023-12-19 16:30:38 +08:00
parent fdf16f5535
commit a4ba5660b8

View file

@ -114,4 +114,5 @@ function_signatures, function_returns = get_function_signatures_in_folder(folder
UDFS = [func for func in function_signatures
if not func['udf_name'].startswith(('extract_function_signatures', 'get_function_signatures_in_folder', 'docstring_to_yaml'))]
UDFS_YAML = extract_function_schema_yaml_in_folder(folder_path)
UDFS_YAML_STR: str = extract_function_schema_yaml_in_folder(folder_path)
UDFS_YAML: dict = yaml.load(UDFS_YAML_STR, Loader=yaml.FullLoader)