Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/PDFMathTranslate/PDFMathTranslate
/ all
Method
all
pdf2zh/config.py:204–208 ·
view source on GitHub ↗
返回所有配置项
(cls)
Source
from the content-addressed store, hash-verified
202
203
@classmethod
204
def
all(cls):
205
""
"返回所有配置项"
""
206
instance = cls.get_instance()
207
# 这里只做读取操作,一般可不加锁。不过为了保险也可以加锁。
208
return
instance._config_data
209
210
@classmethod
211
def
remove(cls):
Callers
1
test_scale_boxes
Method · 0.80
Calls
1
get_instance
Method · 0.80
Tested by
1
test_scale_boxes
Method · 0.64