MCPcopy Create free account
hub / github.com/caesarHQ/textSQL / queryTextToTables

Function queryTextToTables

api/app/api/chronjobs/test_homepage_queries.py:14–17  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

12endpoint = 'https://text-sql-be2.onrender.com'
13
14def queryTextToTables(payload):
15 headers = {'Content-Type': 'application/json'}
16 res = requests.post(endpoint + '/api/get_tables', json=payload, headers=headers)
17 return res.json()
18
19def queryTextToSQL(payload):
20 headers = {'Content-Type': 'application/json'}

Callers 1

testQueryWorksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected