@property
    def executor(self):
        cls = self.__class__
        if cls._executor is None:
            cls._executor = ThreadPoolExecutor(20)
        return cls._executor
single global executor
dataset/ETHPy150Open everware/everware/everware/spawner.py/CustomDockerSpawner.executor