MCPcopy Index your code
hub / github.com/dataease/SQLBot / get_base_template

Function get_base_template

backend/apps/template/template.py:27–29  ·  view source on GitHub ↗

获取基础模板(自动缓存)

()

Source from the content-addressed store, hash-verified

25
26
27def get_base_template():
28 """获取基础模板(自动缓存)"""
29 return _load_template_file(BASE_TEMPLATE_PATH)
30
31
32def get_sql_template(db_type: Union[str, DB]):

Callers 10

get_sql_templateFunction · 0.90
get_predict_templateFunction · 0.90
get_analysis_templateFunction · 0.90
get_datasource_templateFunction · 0.90
get_chart_templateFunction · 0.90
get_permissions_templateFunction · 0.90
get_dynamic_templateFunction · 0.90

Calls 1

_load_template_fileFunction · 0.85

Tested by

no test coverage detected