MCPcopy Create free account
hub / github.com/PaddlePaddle/Research / load_data

Function load_data

NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:637–645  ·  view source on GitHub ↗

Args: Returns:

(fpath)

Source from the content-addressed store, hash-verified

635
636
637def load_data(fpath):
638 """
639 Args:
640
641 Returns:
642 """
643 with open(fpath) as f:
644 data = json.load(f)
645 return data
646
647
648def get_sql(schema, query):

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected