Match a runtime instance against this selector.
(self, obj: object)
| 60 | self._predicate = predicate |
| 61 | |
| 62 | def match(self, obj: object) -> bool: |
| 63 | """Match a runtime instance against this selector.""" |
| 64 | return self._match_target(SelectionTarget.from_obj(obj)) |
| 65 | |
| 66 | def match_declaration(self, *, name: str | None, cls: type | None) -> bool: |
| 67 | """Match a (name, type) declaration against this selector. |
no test coverage detected