Check if the module is disabled. Returns: bool: True if disabled, False otherwise.
(self)
| 177 | |
| 178 | @property |
| 179 | def disabled(self): |
| 180 | """ |
| 181 | Check if the module is disabled. |
| 182 | |
| 183 | Returns: |
| 184 | bool: True if disabled, False otherwise. |
| 185 | """ |
| 186 | # it is disabled if it does not exist a configuration enabled |
| 187 | return not self.configs.filter(disabled=False).exists() |
| 188 | |
| 189 | @cached_property |
| 190 | def python_class(self) -> Type["Plugin"]: |
nothing calls this directly
no outgoing calls
no test coverage detected