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

Method __init__

playwright/_impl/_fetch.py:107–113  ·  view source on GitHub ↗
(
        self, parent: ChannelOwner, type: str, guid: str, initializer: Dict
    )

Source from the content-addressed store, hash-verified

105
106class APIRequestContext(ChannelOwner):
107 def __init__(
108 self, parent: ChannelOwner, type: str, guid: str, initializer: Dict
109 ) -> None:
110 super().__init__(parent, type, guid, initializer)
111 self._tracing: Tracing = from_channel(initializer["tracing"])
112 self._close_reason: Optional[str] = None
113 self._timeout_settings = TimeoutSettings(None)
114
115 async def dispose(self, reason: str = None) -> None:
116 self._close_reason = reason

Callers

nothing calls this directly

Calls 3

from_channelFunction · 0.90
TimeoutSettingsClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected