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

Method __len__

rat-sql-gap/seq2struct/datasets/spider.py:210–211  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

208 self.examples.append(item)
209
210 def __len__(self):
211 return len(self.examples)
212
213 def __getitem__(self, idx):
214 return self.examples[idx]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected