MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / _execute

Method _execute

KVCOMM/agents/final_decision.py:622–631  ·  view source on GitHub ↗

To be overriden by the descendant class

(self, input:Dict[str,str],  spatial_info:Dict[str,Any], temporal_info:Dict[str,Any],**kwargs)

Source from the content-addressed store, hash-verified

620 return None
621
622 def _execute(self, input:Dict[str,str], spatial_info:Dict[str,Any], temporal_info:Dict[str,Any],**kwargs):
623 """ To be overriden by the descendant class """
624 """ Use the processed input to get the result """
625 output = ""
626 info_list = []
627 for info in spatial_info.values():
628 info_list.append(info['output'])
629 if len(info_list):
630 output = info_list[-1]
631 return output
632
633 async def _async_execute(self, input:Dict[str,str], spatial_info:Dict[str,Any], temporal_info:Dict[str,Any], mode: str = "default", **kwargs):
634 """ To be overriden by the descendant class """

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected