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

Method __contains__

rat-sql-gap/seq2struct/utils/vocab.py:48–50  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

46 yield self.id_to_elem[i]
47
48 def __contains__(self, value):
49 # type: (object) -> bool
50 return value in self.elem_to_id
51
52 def __len__(self):
53 # type: () -> int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected