Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dataease/SQLBot
/ get_sql_template
Function
get_sql_template
backend/apps/template/generate_sql/generator.py:7–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
6
7
def
get_sql_template():
8
template = get_base_template()
9
return
template[
'template'
][
'sql'
]
10
11
12
def
get_sql_example_template(db_type: Union[str, DB]):
Callers
2
sql_sys_question
Method · 0.90
sql_user_question
Method · 0.90
Calls
1
get_base_template
Function · 0.90
Tested by
no test coverage detected