Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
train
Method · 0.80
train
Method · 0.80
beam_search_with_oracle_sketch
Function · 0.80
validate_item
Method · 0.80
__init__
Method · 0.80
Calls
1
parse_sql
Method · 0.95
Tested by
no test coverage detected