Build the items-dict key for ``(alias, model)``. Centralized so every call site shares one definition of "which Excludable is this".
(model_cls: type["Model"], alias: str = "")
| 387 | |
| 388 | @staticmethod |
| 389 | def _make_key(model_cls: type["Model"], alias: str = "") -> str: |
| 390 | """ |
| 391 | Build the items-dict key for ``(alias, model)``. Centralized so |
| 392 | every call site shares one definition of "which Excludable is |
| 393 | this". |
| 394 | """ |
| 395 | prefix = f"{alias}_" if alias else "" |
| 396 | return f"{prefix}{model_cls.get_name(lower=True)}" |
| 397 | |
| 398 | @staticmethod |
| 399 | def _resolve_path( |
no test coverage detected