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

Function get_types

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

Get type names from database

()

Source from the content-addressed store, hash-verified

54
55@bp.route('/types', methods=['GET'])
56def get_types():
57 """
58 Get type names from database
59 """
60 type_names = get_type_names()
61 return make_response(jsonify({"type_names": type_names}), 200)
62
63
64@bp.route('/get_types_metadata', methods=['POST'])

Callers

nothing calls this directly

Calls 1

get_type_namesFunction · 0.85

Tested by

no test coverage detected