MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / load_data

Function load_data

rat-sql-gap/seq2struct/datasets/spider_lib/process_sql.py:544–547  ·  view source on GitHub ↗
(fpath)

Source from the content-addressed store, hash-verified

542
543
544def load_data(fpath):
545 with open(fpath) as f:
546 data = json.load(f)
547 return data
548
549
550def get_sql(schema, query):

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected