Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/gap-text2sql
/ __getitem__
Method
__getitem__
rat-sql-gap/seq2struct/datasets/spider.py:213–214 ·
view source on GitHub ↗
(self, idx)
Source
from the content-addressed store, hash-verified
211
return
len(self.examples)
212
213
def
__getitem__(self, idx):
214
return
self.examples[idx]
215
216
class
Metrics:
217
def
__init__(self, dataset):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected