To be overriden by the descendant class
(self, input:Dict[str,str], spatial_info:Dict[str,Any], temporal_info:Dict[str,Any],**kwargs)
| 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 """ |