perf: 初始化config对象时支持传递dict作为模板

This commit is contained in:
RockChinQ
2024-03-20 14:20:56 +08:00
parent f53070d8b6
commit fa823de6b0
3 changed files with 21 additions and 19 deletions
+3
View File
@@ -10,6 +10,9 @@ class ConfigFile(metaclass=abc.ABCMeta):
template_file_name: str = None
"""模板文件名"""
template_data: dict = None
"""模板数据"""
@abc.abstractmethod
def exists(self) -> bool:
pass