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

Function get_tables

byod/api/app/setup/routes.py:31–36  ·  view source on GitHub ↗

Get table names from database

()

Source from the content-addressed store, hash-verified

29
30@bp.route('/tables', methods=['GET'])
31def get_tables():
32 """
33 Get table names from database
34 """
35 table_names = get_table_names()
36 return make_response(jsonify({"table_names": table_names}), 200)
37
38
39@bp.route('/get_tables_metadata', methods=['POST'])

Callers

nothing calls this directly

Calls 1

get_table_namesFunction · 0.85

Tested by

no test coverage detected