def __init__(self):
self.logger = logging.getLogger('%s.%s' % (self.__class__.__module__,
self.__class__.__name__))
self._component_types = {} # Component metadata, keyed by component name
# type: Dict[str, Graph]
self._graphs = {} # Graph instances, keyed by graph ID
# type: Dict[str, Tuple[Greenlet, Network]]
self._executors = {} # GraphExecutor instances, keyed by graph ID
self.logger.debug('Initialized runtime!')
评论列表
文章目录