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

Method __init__

components/expr_parser.py:130–131  ·  view source on GitHub ↗
(self, data_type, fields)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected