From 09307d8c6d7f5bde71416836427f3443cf23ca82 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Fri, 7 Nov 2025 23:04:49 +0800 Subject: [PATCH] chore: update --- pkg/config/manager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/config/manager.py b/pkg/config/manager.py index d45a04ec..d22591b0 100644 --- a/pkg/config/manager.py +++ b/pkg/config/manager.py @@ -62,7 +62,6 @@ async def load_python_module_config(config_name: str, template_name: str, comple async def load_json_config( config_name: str, - template_name: str = None, template_resource_name: str = None, template_data: dict = None, completion: bool = True, @@ -71,11 +70,11 @@ async def load_json_config( Args: config_name (str): Config file name - template_name (str): Template file name + template_resource_name (str): Template resource name template_data (dict): Template data completion (bool): Whether to automatically complete the config file in memory """ - cfg_inst = json_file.JSONConfigFile(config_name, template_name, template_data) + cfg_inst = json_file.JSONConfigFile(config_name, template_resource_name, template_data) cfg_mgr = ConfigManager(cfg_inst) await cfg_mgr.load_config(completion=completion)