MCPcopy Index your code
hub / github.com/microsoft/playwright-python / _adopt

Method _adopt

playwright/_impl/_connection.py:189–192  ·  view source on GitHub ↗
(self, child: "ChannelOwner")

Source from the content-addressed store, hash-verified

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

Callers 1

dispatchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected