Add executor to map If the executor exists, delete the current entry and add the new executor to the bottom for FIFO
(self, executor)
| 153 | return executors |
| 154 | |
| 155 | def add_executor(self, executor): |
| 156 | """Add executor to map |
| 157 | |
| 158 | If the executor exists, delete the current entry and add the |
| 159 | new executor to the bottom for FIFO |
| 160 | """ |
| 161 | map_key = self._make_executor_map_key(executor.name, executor.platform) |
| 162 | if map_key in self._executor_map: |
| 163 | del self._executor_map[map_key] |
| 164 | self._executor_map[map_key] = executor |
| 165 | |
| 166 | def add_executors(self, executors): |
| 167 | """Create executor map from list of executor objects""" |
no test coverage detected