fix(global_var): 移除全局变量设置函数set_datasets
- 删除了 global_var.py 文件中的 set_datasets 函数 - 该函数用于设置全局变量 _datasets,但似乎已不再使用
This commit is contained in:
parent
5fc3b4950b
commit
87501c9353
@ -37,10 +37,6 @@ def get_docs():
|
||||
def get_datasets():
|
||||
return _datasets
|
||||
|
||||
def set_datasets(new_datasets):
|
||||
global _datasets
|
||||
_datasets = new_datasets
|
||||
|
||||
def get_model():
|
||||
return _model
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user