Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/gap-text2sql
/ Schema
Class
Schema
rat-sql-gap/seq2struct/datasets/spider.py:42–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
41
@attr.s
42
class
Schema:
43
db_id = attr.ib()
44
tables = attr.ib()
45
columns = attr.ib()
46
foreign_key_graph = attr.ib()
47
orig = attr.ib()
48
49
50
def
load_tables(paths):
Callers
2
load_tables
Function · 0.70
load_tables_from_schema_dict
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected