Force the status of *feature* to be *enabled*. This method is provided as a workaround for any cases where importlib.metadata is ineffective, or for testing.
(feature: str, enabled: bool)
| 75 | |
| 76 | |
| 77 | def force(feature: str, enabled: bool) -> None: |
| 78 | """Force the status of *feature* to be *enabled*. |
| 79 | |
| 80 | This method is provided as a workaround for any cases |
| 81 | where importlib.metadata is ineffective, or for testing. |
| 82 | """ |
| 83 | _cache[feature] = enabled |
| 84 | |
| 85 | |
| 86 | _requirements: Dict[str, List[str]] = { |
no outgoing calls
searching dependent graphs…