MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / get_event_loop

Function get_event_loop

seleniumbase/core/nest_asyncio.py:128–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126 """Patch the policy to always return a patched loop."""
127
128 def get_event_loop(self):
129 if self._local._loop is None:
130 loop = self.new_event_loop()
131 _patch_loop(loop)
132 self.set_event_loop(loop)
133 return self._local._loop
134
135 if sys.version_info < (3, 14, 0):
136 policy = events.get_event_loop_policy()

Callers

nothing calls this directly

Calls 1

_patch_loopFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…