MCPcopy Create free account
hub / github.com/PaddlePaddle/Research / handle_data

Method handle_data

NLP/ACL2020-GraphSum/src/utils/stream.py:33–36  ·  view source on GitHub ↗

handle the data

(self, data)

Source from the content-addressed store, hash-verified

31 self.models = []
32
33 def handle_data(self, data):
34 """handle the data"""
35 if re.match('step', data.strip()):
36 self.models.append(data.strip())
37
38 parser = MyHTMLParser()
39 models = parser.feed(data)

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected