MCPcopy
hub / github.com/apache/caldera / __init__

Method __init__

app/service/learning_svc.py:15–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13class LearningService(LearningServiceInterface, BaseService):
14
15 def __init__(self):
16 self.log = self.add_service('learning_svc', self)
17 self.model = set()
18 self.parsers = self.add_parsers('app/learning')
19 self.re_variable = re.compile(r'#{(.*?)}', flags=re.DOTALL)
20 self.log.debug('Loaded %d parsers' % len(self.parsers))
21
22 @staticmethod
23 def add_parsers(directory):

Callers

nothing calls this directly

Calls 3

add_parsersMethod · 0.95
setFunction · 0.85
add_serviceMethod · 0.80

Tested by

no test coverage detected