(self, obj: Any)
| 457 | ) |
| 458 | |
| 459 | def list_attributes(self, obj: Any) -> list[str]: |
| 460 | # TODO: re-implement dir without AttrCleaner here |
| 461 | # |
| 462 | # Note: accessing `obj.__dir__` via `getattr_static` is not side-effect free. |
| 463 | with inspection.AttrCleaner(obj): |
| 464 | return dir(obj) |
| 465 | |
| 466 | |
| 467 | class DictKeyCompletion(BaseCompletionType): |