Method
__call__
(self, subname: str, /, **kwargs: str | int | bool | None)
Source from the content-addressed store, hash-verified
| 198 | return cls(mapped_names) |
| 199 | |
| 200 | def __call__(self, subname: str, /, **kwargs: str | int | bool | None) -> bool: |
| 201 | if kwargs: |
| 202 | raise UsageError("Keyword expressions do not support call parameters.") |
| 203 | subname = subname.lower() |
| 204 | return any(subname in name.lower() for name in self._names) |
| 205 | |
| 206 | |
| 207 | def deselect_by_keyword(items: list[Item], config: Config) -> None: |
Callers
nothing calls this directly
Tested by
no test coverage detected