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

Method __lt__

rat-sql-gap/seq2struct/utils/vocab.py:20–24  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

18 return '<' + self.name + '>'
19
20 def __lt__(self, other):
21 # type: (object) -> bool
22 if isinstance(other, IndexedSet.Sentinel):
23 return self.name < other.name
24 return True
25
26
27UNK = '<UNK>'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected