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

Method parse

rat-sql-gap/seq2struct/grammars/spider.py:122–123  ·  view source on GitHub ↗
(self, code, section)

Source from the content-addressed store, hash-verified

120
121
122 def parse(self, code, section):
123 return self.parse_sql(code)
124
125 def unparse(self, tree, item):
126 unparser = SpiderUnparser(self.ast_wrapper, item.schema, self.factorize_sketch)

Callers 5

trainMethod · 0.80
trainMethod · 0.80
validate_itemMethod · 0.80
__init__Method · 0.80

Calls 1

parse_sqlMethod · 0.95

Tested by

no test coverage detected