(self, child: "ChannelOwner")
| 187 | self._objects.clear() |
| 188 | |
| 189 | def _adopt(self, child: "ChannelOwner") -> None: |
| 190 | del cast("ChannelOwner", child._parent)._objects[child._guid] |
| 191 | self._objects[child._guid] = child |
| 192 | child._parent = self |
| 193 | |
| 194 | def _set_event_to_subscription_mapping(self, mapping: Dict[str, str]) -> None: |
| 195 | self._event_to_subscription_mapping = mapping |