Get list of unique model names from players config
(self)
| 263 | |
| 264 | @property |
| 265 | def models(self) -> list[str]: |
| 266 | """Get list of unique model names from players config""" |
| 267 | players_config = self.get_path("config.players", []) |
| 268 | models = [] |
| 269 | for player_config in players_config: |
| 270 | if isinstance(player_config, dict): |
| 271 | model_name = self.get_path_from_dict(player_config, "config.model.model_name") |
| 272 | if model_name and model_name not in models: |
| 273 | models.append(model_name) |
| 274 | return models |
| 275 | |
| 276 | @property |
| 277 | def game_name(self) -> str: |
nothing calls this directly
no test coverage detected