MCPcopy Create free account
hub / github.com/LHRLAB/ChatKBQA / __str__

Method __str__

components/expr_parser.py:89–90  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

87 return ' '.join(['(', '{}[{}]'.format(self.val, self.data_type)] + fields_str + [')'])
88
89 def __str__(self):
90 return self.logical_form()
91
92 def __repr__(self):
93 return self.logical_form()

Callers

nothing calls this directly

Calls 1

logical_formMethod · 0.95

Tested by

no test coverage detected