MCPcopy Index your code
hub / github.com/coleifer/sqlite-web / inner

Function inner

sqlite_web/sqlite_web.py:524–527  ·  view source on GitHub ↗
(table, *args, **kwargs)

Source from the content-addressed store, hash-verified

522def require_table(fn):
523 @wraps(fn)
524 def inner(table, *args, **kwargs):
525 if table not in get_dataset().tables:
526 abort(404)
527 return fn(table, *args, **kwargs)
528 return inner
529
530@app.route('/create-table/', methods=['POST'])

Callers

nothing calls this directly

Calls 1

get_datasetFunction · 0.85

Tested by

no test coverage detected