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

Method _parse_link_result

app/objects/secondclass/c_link.py:250–255  ·  view source on GitHub ↗
(self, result, parser, source_facts)

Source from the content-addressed store, hash-verified

248 return task
249
250 async def _parse_link_result(self, result, parser, source_facts):
251 blob = b64decode(result).decode('utf-8')
252 parser_info = dict(module=parser.module, used_facts=self.used, mappers=parser.parserconfigs,
253 source_facts=source_facts)
254 p_inst = await self._load_module('Parser', parser_info)
255 return p_inst.parse(blob=blob)
256
257 @staticmethod
258 async def _load_module(module_type, module_info):

Callers 1

parseMethod · 0.95

Calls 3

_load_moduleMethod · 0.95
decodeMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected