Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caesarHQ/textSQL
/ queryTextToSQL
Function
queryTextToSQL
api/app/api/chronjobs/test_homepage_queries.py:19–22 ·
view source on GitHub ↗
(payload)
Source
from the content-addressed store, hash-verified
17
return
res.json()
18
19
def
queryTextToSQL(payload):
20
headers = {
'Content-Type'
:
'application/json'
}
21
res = requests.post(endpoint +
'/api/text_to_sql'
, json=payload, headers=headers)
22
return
res.json()
23
24
scope = [
'SF'
]
25
Callers
1
testQueryWorks
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected