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

Class CountNode

components/expr_parser.py:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 return self.fields[0].textual_form() + ' by'
128
129class CountNode(ASTNode):
130 def __init__(self, data_type, fields):
131 super().__init__('COUNT', 'COUNT', data_type, fields)
132
133 def textual_form_core(self):
134 return 'how many ' + self.fields[0].textual_form()
135
136class JoinNode(ASTNode):
137 def __init__(self, data_type, fields):

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected