Partial original request func and run it in a thread.
(self, *args, **kwargs)
| 754 | self.thread_pool = ThreadPoolExecutor(max_workers=workers) |
| 755 | |
| 756 | def request(self, *args, **kwargs): |
| 757 | """ Partial original request func and run it in a thread. """ |
| 758 | func = partial(super().request, *args, **kwargs) |
| 759 | return self.loop.run_in_executor(self.thread_pool, func) |
| 760 | |
| 761 | async def close(self): |
| 762 | """ If a browser was created close it first. """ |
nothing calls this directly
no outgoing calls
no test coverage detected