remove all instrumentation established by this ClassManager.
(self)
| 412 | manager.uninstrument_attribute(key, True) |
| 413 | |
| 414 | def unregister(self) -> None: |
| 415 | """remove all instrumentation established by this ClassManager.""" |
| 416 | |
| 417 | for key in list(self.originals): |
| 418 | self.uninstall_member(key) |
| 419 | |
| 420 | self.mapper = None |
| 421 | self.dispatch = None # type: ignore |
| 422 | self.new_init = None |
| 423 | self.info.clear() |
| 424 | |
| 425 | for key in list(self): |
| 426 | if key in self.local_attrs: |
| 427 | self.uninstrument_attribute(key) |
| 428 | |
| 429 | if self.MANAGER_ATTR in self.class_.__dict__: |
| 430 | delattr(self.class_, self.MANAGER_ATTR) |
| 431 | |
| 432 | def install_descriptor( |
| 433 | self, key: str, inst: QueryableAttribute[Any] |
no test coverage detected