MCPcopy Create free account
hub / github.com/apify/crawlee-python / session_pool

Function session_pool

tests/unit/sessions/test_session_pool.py:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37@pytest.fixture
38async def session_pool() -> AsyncGenerator[SessionPool, None]:
39 async with SessionPool(max_pool_size=MAX_POOL_SIZE, persistence_enabled=False) as sp:
40 yield sp
41
42
43async def test_session_pool_init(session_pool: SessionPool) -> None:

Callers

nothing calls this directly

Calls 1

SessionPoolClass · 0.90

Tested by

no test coverage detected